Re: Running a script on monitor connect/disconnect
Hi, > And who needs xrandr if you can have the layout you want in a > straightforward way by directly editing the xorg.conf file or by using > nvidia-settings tool? (we are now in a loop ;-P) Editing xorg.conf requires an X-server restart after each setup change, which is ridiculous. In the end, I do not care which means a tool uses to set up the screens, whether it's xrandr or that nvidia-specific way. I just want it to work, without the need to restart anything. And for everything except for NVidia cards, xrandr is the way to go ;-) > Uh? That's strange. Maybe you had a problem for getting the radeon 3D > acceleration features enabled... did you review this list of supported > games/cards on wine/native environment? I just tried again. Neverball is now working fine, however from the three Windows games I tried, only one started, the others showed no useful content on screen. So, I have to stick with the closed-source driver for now :( The driver is not the issue though, xrandr works the way it is supposed to, as far as I can tell. I just want to take some action when a monitor is connected, which xrandr does detect, it just does not tell me. That's all :D Kind regards, Ralf -- 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/201108231257.06899.ralfjun...@gmx.de
Pixel garbage when opening context menus
Hi list, since upgrading from Kubuntu (10.10) to Debian testing, I am noticing that a context-menu, directly after right-clicking, contains pixel garbage that is then overdrawn with the actual content. I often recognize the garbage as content from some window. This also applies to other menus, like the K-Menu, and sometimes (especially when the system is under load) even for whole windows. When clicking the logout/shutdown button, the background around the dialogue where I have to confirm my choice also shows garbage. I do not remember anything like that from back when I used Kubuntu. I am using Debian testing and KDE. The issue is present both on my laptop (AMD Radeon HD 3200, I tried both the open-source and the closed-source driver) and my desktop (NVidia GeForce 8500, closed-source driver). It does not matter whether compositing is enabled or disabled (except for the logout/shutdown dialogue problem, which appears only with composite disabled). Now I wonder, which package do I have to report the bug against? It can hardly be the driver, but it could be everything else in the graphics stack, as far as I can tell. I also wonder whether anyone else is having the same problem. Kind regards, Ralf -- 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/201108231302.57951.ralfjun...@gmx.de
Re: KDE: Flashing battery icon
Hi again, can't anybody help? I'd really like to report this as bug against upower or KDE, but in the end I got no clue how I can verify where the problem is caused. Kind regards, Ralf On Saturday 30 July 2011 16:13:07 Ralf Jung wrote: > Hi list, > > since I installed the current Debian testing on my laptop (I used Kubuntu > 10.10 before), the battery applet in the systray is behaving weird when > both battery and AC are plugged in: Every 19 seconds (the frequency is > quite stable), the icon flashes from "battery and AC" to "no battery > available" and back. Immediately after plugging AC back in, it flashes > back and forth between those states for around five seconds, before > "calming down" and starting its normal rhythm again. > > IIRC, Kubuntu 10.10 still used HAL which is no longer installed, so the > issue might be caused by upower - but before reporting a bug, I'd like to > check back here if someone experiences a similar issue or maybe there are > ways to debug the problem. > > Kind regards, > Ralf -- 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/201108231304.21833.ralfjun...@gmx.de
China Transfer Pricing & Supply Chain Planning (14 October 2011)
China 2011: Transfer Pricing & Supply Chain Planning Friday, 14th October 2011, 8:45am-12:30pm Prince Hotel & Residences Kuala Lumpur In the past, China's tax authority provided favourable business environment to attract foreign investments. Today, the tax authorities are stepping up their efforts to enhance tax collection and transfer pricing compliance, due to many foreign enterprises reporting low profitability upon the expiration of their tax holidays. In order to avoid risk of penalty, it is important for foreign businesses to make sure that their specific transfer pricing planning and strategies fall within the boundaries of State Administration of Taxation's rules and regulations. Leading expert, Cheng Chi, Partner, Global Transfer Pricing Services will keep you abreast of the recent developments of China transfer pricing regime and will provide practical insights on how to approach critical tax issues. PROGRAMME OUTLINE China TP Regulations: What's new in the third year of enforcement? - Update on China transfer pricing: regulations and experts' observations - Transfer pricing audit environment in China: statistics and trend - APA experience sharing Case Study: Illustration of supply chain planning to: - Manage and mitigate transfer pricing and corporate tax risks - Optimize effective tax rate - Develop tax-efficient operating structure, with appropriate allocation of functions, assets and risks - Centralization of administrative functionscash pooling - use of CHC/RHQ - Minimise tax burden on corporate restructuring - Manage customs risks on payments to overseas Remittance of funds from China - Management fee regime in China concerning overseas companies - China tax implications for remitting fees - Common strategies to reduce China tax on cross-border payments HIGHLIGHTS - Receive up-to-date Chinese Transfer Pricing developments - Learn how to analyse these changes to mitigate tax risks - Identify tax-efficient structures for your business operations in China - Understand the strategies on cross-border payments to enhance tax savings and benefits We also have a seminar on Vietnam Transfer Pricing & Supply Chain Management on Friday, 14th October 2011, 1:15pm-5:00pm, Prince Hotel & Residences Kuala Lumpur. For more information or to receive a brochure, please contact us at (603) 7803 2514 or layna.franci...@fortressintelligence.com.sg. Looking forward to your participation with your colleagues at this seminar. Yours sincerely, Layna O. Francisco Programme Coordinator Fortress Intelligence Pte Ltd Singapore Head Office 10 Anson Road #34-11 International Plaza Singapore 079903 Tel: (65) 6334 8311 Fax: (65) 6334 8511 Malaysia Office Suite 123, 1st Floor, Johor Tower, 15 Jalan Gereja 80100 Johor Bahru, Johor, Malaysia Tel: (603) 7803 2514 Fax: (603) 7803 2168 -- 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/20110823111745.e10e413a5...@liszt.debian.org
Re: KDE: Flashing battery icon
On Tue, Aug 23, 2011 at 01:04:21PM +0200, Ralf Jung wrote: > Hi again, > > can't anybody help? I'd really like to report this as bug against upower or > KDE, but in the end I got no clue how I can verify where the problem is > caused. One thing you could do is to run acpi -b when the weird occurrences happen, and see if that is in tune with what the battery monitor shows. When on ac, acpi -b should return blank, but when on battery, it should display some information on the battery life remaining etc. This way, you can tell if the problem is in the KDE applet or in ACPI. Thanks. Kumar -- The first is to ensure your partner understands that nature has root privileges - nature doesn't have to make sense. -- Telsa Gwynne -- 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/20110823123129.gb28...@bluemoon.alumni.iitm.ac.in
Re: KDE: Flashing battery icon
Hi, thanks for the quick reply! > One thing you could do is to run acpi -b when the weird occurrences > happen, and see if that is in tune with what the battery monitor > shows. When on ac, acpi -b should return blank, but when on battery, > it should display some information on the battery life remaining > etc. This way, you can tell if the problem is in the KDE applet or in > ACPI. What exactly do you mean by "on battery"? When I am on AC, but the battery is plugged in, "acpi -b" prints Battery 0: Unknown, 98% After plugging AC off, it says Battery 0: Discharging, 98%, 02:12:32 r emaining And when there is no battery it's empty. As far as I can tell, it also does that when KDE displays the "no battery" icon, which is however hard to catch since it only lasts for a fraction of a second. However, you gave me the idea to look for a CLI for upower, and there actually is one. "upower --monitor" prints this when plugging in AC: [14:47:44.867] device changed: /org/freedesktop/UPower/devices/line_power_AC [14:47:45.203] device removed: /org/freedesktop/UPower/devices/battery_BAT0 [14:47:45.832] device added: /org/freedesktop/UPower/devices/battery_BAT0 [14:47:45.832] device changed: /org/freedesktop/UPower/devices/battery_BAT0 [14:47:46.137] device removed: /org/freedesktop/UPower/devices/battery_BAT0 [14:47:46.420] device added: /org/freedesktop/UPower/devices/battery_BAT0 [14:47:46.425] device changed: /org/freedesktop/UPower/devices/battery_BAT0 [14:47:46.547] device changed: /org/freedesktop/UPower/devices/battery_BAT0 [14:47:47.082] device removed: /org/freedesktop/UPower/devices/battery_BAT0 [14:47:47.374] device added: /org/freedesktop/UPower/devices/battery_BAT0 [14:47:47.378] device changed: /org/freedesktop/UPower/devices/battery_BAT0 [14:47:47.548] device changed: /org/freedesktop/UPower/devices/battery_BAT0 [14:47:48.032] device removed: /org/freedesktop/UPower/devices/battery_BAT0 [14:47:48.255] device added: /org/freedesktop/UPower/devices/battery_BAT0 [...] So the problem is definitely within upower or even further down the stack, but not in KDE. I'll report a bug against upower. Kind regards, Ralf -- 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/201108231449.58066.ralfjun...@gmx.de
no more system bell after squeeze upgrade
I don't have the system/terminal beep (bell) in Gnome anymore after upgrading to squeeze. curty@einstein:~$ lsmod | grep pcspkr pcspkr 1699 0 curty@einstein:~$ xset -q (snippy) bell percent: 50bell pitch: 400bell duration: 100 No bell/beep in the console either. Alsamixer has a 'Beep' channel I've unmuted, but it seems to turn on a sound card beep (though only in the console), but I want the internal motherboard beep I had before, the annoying one that gets on people's nerves and just about everybody else tries to turn off. I've already spent over an hour on this idiotic exercise in futility. Over an hour has not been sufficient. Helpful ideas welcome if anyone has any. -- 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/slrnj57bd6.3v5.cu...@einstein.electron.org
Re: KDE: Flashing battery icon
On Tue, Aug 23, 2011 at 02:49:57PM +0200, Ralf Jung wrote: > > One thing you could do is to run acpi -b when the weird occurrences > > happen, and see if that is in tune with what the battery monitor > > shows. When on ac, acpi -b should return blank, but when on battery, > > it should display some information on the battery life remaining > > etc. This way, you can tell if the problem is in the KDE applet or in > > ACPI. > What exactly do you mean by "on battery"? When I am on AC, but the battery is > plugged in, "acpi -b" prints > Battery 0: Unknown, 98% > After plugging AC off, it says > Battery 0: Discharging, 98%, 02:12:32 r > emaining Ah, that made sense. I checked without a battery, which is what gave me a blank message. > And when there is no battery it's empty. > As far as I can tell, it also does that when KDE displays the "no battery" > icon, which is however hard to catch since it only lasts for a fraction of a > second. > > However, you gave me the idea to look for a CLI for upower, and there > actually > is one. "upower --monitor" prints this when plugging in AC: > > [14:47:44.867] device changed: > /org/freedesktop/UPower/devices/line_power_AC > [14:47:45.203] device removed: /org/freedesktop/UPower/devices/battery_BAT0 > [14:47:45.832] device added: /org/freedesktop/UPower/devices/battery_BAT0 > [14:47:45.832] device changed: > /org/freedesktop/UPower/devices/battery_BAT0 > [14:47:46.137] device removed: /org/freedesktop/UPower/devices/battery_BAT0 > [14:47:46.420] device added: /org/freedesktop/UPower/devices/battery_BAT0 > [14:47:46.425] device changed: > /org/freedesktop/UPower/devices/battery_BAT0 > [14:47:46.547] device changed: > /org/freedesktop/UPower/devices/battery_BAT0 > [14:47:47.082] device removed: /org/freedesktop/UPower/devices/battery_BAT0 > [14:47:47.374] device added: /org/freedesktop/UPower/devices/battery_BAT0 > [14:47:47.378] device changed: > /org/freedesktop/UPower/devices/battery_BAT0 > [14:47:47.548] device changed: > /org/freedesktop/UPower/devices/battery_BAT0 > [14:47:48.032] device removed: /org/freedesktop/UPower/devices/battery_BAT0 > [14:47:48.255] device added: /org/freedesktop/UPower/devices/battery_BAT0 > [...] > > So the problem is definitely within upower or even further down the stack, > but > not in KDE. I'll report a bug against upower. Glad to know that you've at least zeroed down on the issue. Thanks. Kumar -- If a 'train station' is where a train stops, what's a 'workstation'? -- 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/20110823134426.ga31...@bluemoon.alumni.iitm.ac.in
Installing debian package independent from system
A user would like the latest and greatest zsh and we have a deb package for it. For security purposes I want to keep the slightly older version of zsh obtained and maintained from debian packages as the system default zsh. I'm willing to install the later version of zsh in an alternate directory, say under their home or in /usr/local for the one user. I thought perhaps dpkg --root /usr/local/zsh with a copy of /var/lib/dpkg placed under /usr/local/zsh would do the trick, but it isn't happy as some part of this still believes we are working on the main system dpkg path: dpkg --root /usr/local/zsh -i ~username/zsh_4.3.12-1_i386.deb (Reading database ... 73404 files and directories currently installed.) Preparing to replace zsh 4.3.10-14 (using .../username/zsh_4.3.12-1_i386.deb) ... dpkg (subprocess): unable to execute old pre-removal script (/var/lib/dpkg/info/zsh.prerm): No such file or directory dpkg: warning: subprocess old pre-removal script returned error exit status 2 dpkg - trying script from the new package instead ... dpkg (subprocess): unable to execute new pre-removal script (/var/lib/dpkg/tmp.ci/prerm): No such file or directory dpkg: error processing /home/username/zsh_4.3.12-1_i386.deb (--install): subprocess new pre-removal script returned error exit status 2 dpkg (subprocess): unable to execute installed post-installation script (/var/lib/dpkg/info/zsh.postinst): No such file or directory dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: /home/username/zsh_4.3.12-1_i386.deb Building from source would work too, but typically has care and feeding steps just to get all the deps in line. What is the best way to use a deb package and not have it as part of the system's knowledge of installed packages? It is OK if at runtime zsh has dependancy on system libs. --Donald -- 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/camnr8_ndmkbr0pbfhs1nmfqjc5qvy4sb7ww-kgk9v9jepg+...@mail.gmail.com
Re: Installing debian package independent from system
On Tue, Aug 23, 2011 at 11:24:38AM -0300, D G Teed wrote: > A user would like the latest and greatest zsh and we have > a deb package for it. For security purposes I want to > keep the slightly older version of zsh obtained and maintained > from debian packages as the system default zsh. > > I'm willing to install the later version of zsh in an alternate directory, > say under their home or in /usr/local for the one user. > > I thought perhaps dpkg --root /usr/local/zsh with a copy of > /var/lib/dpkg placed under /usr/local/zsh would do the trick, > but it isn't happy as some part of this still believes we > are working on the main system dpkg path: > [cut: errors] > > Building from source would work too, but typically has care and feeding steps > just to get all the deps in line. > > What is the best way to use a deb package and not have it as part > of the system's knowledge of installed packages? It is OK if at runtime > zsh has dependancy on system libs. Well, I can see this, at least, being a problem. What if, for example, the latest version of zsh depends on a version of a system library that's incompatible with your current libraries (i.e. an ABI change)? I would suspect your best bet is to set up a chroot with the new zsh and its associated dependecies and set up an alias for the user such as "alias new_zsh='chroot /path/to/chroot /bin/zsh'". -- Darac Marjal -- 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/20110823143355.ga17...@darac.org.uk
LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv
I created a LV and was going to use the following command to create a file system: mkfs.ext4 /dev/vg/lv someone suggested I use: mkfs.ext4 /dev/mapper/vg-lv What's the difference? -- Kind regards, Yudi
Re: LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv
Hi Yudi, yudi v wrote: I created a LV and was going to use the following command to create a file system: mkfs.ext4 /dev/vg/lv someone suggested I use: mkfs.ext4 /dev/mapper/vg-lv What's the difference? Perhaps nothing, provided it is mapped properly: # ls -lart /dev/mapper/vg0-root /dev/vg0/root brw-rw 1 root disk 253, 0 2011-06-24 18:56 /dev/mapper/vg0-root lrwxrwxrwx 1 root root 20 2011-06-24 18:56 /dev/vg0/root -> /dev/mapper/vg0-root The "non mapper" version links back to the other one ... so, I think it should be essentially the same -- or rather exactly the same. Cheers -- Kind Regards AndrewM Andrew McGlashan Broadband Solutions now including VoIP -- 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/4e53c13c.3020...@affinityvision.com.au
Re: Installing debian package independent from system
On Tue, Aug 23, 2011 at 11:33 AM, Darac Marjal wrote: > On Tue, Aug 23, 2011 at 11:24:38AM -0300, D G Teed wrote: > > A user would like the latest and greatest zsh and we have > > a deb package for it. For security purposes I want to > > keep the slightly older version of zsh obtained and maintained > > from debian packages as the system default zsh. > > > > I'm willing to install the later version of zsh in an alternate > directory, > > say under their home or in /usr/local for the one user. > > > > I thought perhaps dpkg --root /usr/local/zsh with a copy of > > /var/lib/dpkg placed under /usr/local/zsh would do the trick, > > but it isn't happy as some part of this still believes we > > are working on the main system dpkg path: > > > [cut: errors] > > > > Building from source would work too, but typically has care and feeding > steps > > just to get all the deps in line. > > > > What is the best way to use a deb package and not have it as part > > of the system's knowledge of installed packages? It is OK if at runtime > > zsh has dependancy on system libs. > > Well, I can see this, at least, being a problem. What if, for example, > the latest version of zsh depends on a version of a system library > that's incompatible with your current libraries (i.e. an ABI change)? > We would probably keep updating the zsh installed in the alternate root. I just want to have the system default zsh updated in the usual manner and rest assured that the system default is patched often enough. The alternate zsh can be updated, perhaps by the user, whenever they want a later and greater version of zsh. (Assuming I can get this working from dpkg, otherwise we'll be building from tarball - but I was hoping Debian wouldn't force me into that).
Re: LVM question: what's the difference between /dev/mapper/vg-lv and /dev/vg/lv
> yudi v writes: > I created a LV and was going to use the following command to create a > file system: > mkfs.ext4 /dev/vg/lv > someone suggested I use: > mkfs.ext4 /dev/mapper/vg-lv > What's the difference? There should be none. Note, however, that /dev/mapper/ may contain non-LVM specials as well, such as cryptsetup(8) ones. My guess is that /dev/VG/LV may provide some sort of backwards compatibility, as LVM may have been implemented before Linux's “device mapper.” (IIRC, there was an LVM implementation for HP-UX, bearing some similarity to the one currently in Linux.) -- FSF associate member #7257 Coming soon: Software Freedom Day http://mail.sf-day.org/lists/listinfo/ planning-ru (ru), sfd-discuss (en) -- 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/86ippoqgvs@gray.siamics.net
atfptd in squeeze won't do anything
I have been beating my head against the wall on this for a day and a half. I just installed atftpd (0.7.dfsg-9.1) on Squeeze. When I first installed it, it wouldn't take connections through the default inetd stuff. So I tried editing /etc/default/atftpd and setting USE_INETD=false and running it as a daemon. Still nothing. So I tried manually running /usr/sbin/atftpd, and no matter what options I give it (including none) it just prints the usage and exits, unless I specify --daemon and/or --no-fork in which case it just exits with an exit code 0 and there is no process running or anything listening on that port. Please, any ideas, reports or similar (or even different) behavior, or any thing else would be greatly appreciated. This is driving me crazy. And I can't seem to find any recent howtos on the subject, they all seem to be several years old, or they say basically "apt-get it, and it should work". Also, I tried getting tftpd-hpa working too with similar problems, but I haven't done as extensive of troubleshooting on that. -- Isaac Freeman - Systems Administrator IBM Information Protection Services is...@us.ibm.com 919-254-0245
howto boot from the second disk in raid 1
*hi, I installed squeeze on 2 disks sata using raid 1. the system runs fine with both disks, it runs fine with the first disk alone, but it fails to reboot from the second disk alone. although i installed grub in both disks when i used the second disk alone, it is detected as slave no master disk detected!!!, so the system reboot without stopping is there a possibility to declare the disk as master??? thanks for help *
Re: Installing debian package independent from system
On Tue, Aug 23, 2011 at 12:25 PM, D G Teed wrote: > > > On Tue, Aug 23, 2011 at 11:33 AM, Darac Marjal > wrote: > >> On Tue, Aug 23, 2011 at 11:24:38AM -0300, D G Teed wrote: >> > A user would like the latest and greatest zsh and we have >> > a deb package for it. For security purposes I want to >> > keep the slightly older version of zsh obtained and maintained >> > from debian packages as the system default zsh. >> > >> > I'm willing to install the later version of zsh in an alternate >> directory, >> > say under their home or in /usr/local for the one user. >> > >> > I thought perhaps dpkg --root /usr/local/zsh with a copy of >> > /var/lib/dpkg placed under /usr/local/zsh would do the trick, >> > but it isn't happy as some part of this still believes we >> > are working on the main system dpkg path: >> > >> [cut: errors] >> > >> > Building from source would work too, but typically has care and feeding >> steps >> > just to get all the deps in line. >> > >> > What is the best way to use a deb package and not have it as part >> > of the system's knowledge of installed packages? It is OK if at runtime >> > zsh has dependancy on system libs. >> >> Well, I can see this, at least, being a problem. What if, for example, >> the latest version of zsh depends on a version of a system library >> that's incompatible with your current libraries (i.e. an ABI change)? >> > > We would probably keep updating the zsh installed in the alternate root. > I just want to have the system default zsh updated in the usual manner > and rest assured that the system default is patched often enough. > > The alternate zsh can be updated, perhaps by the user, whenever they > want a later and greater version of zsh. (Assuming I can get this > working from dpkg, otherwise we'll be building from tarball - but > I was hoping Debian wouldn't force me into that). > Searching more for how dpkg can handle something like a relocate, it appears this is not an option. The solution for me was to download the tarball, configure, make and make install, which placed an alternate version of zsh under /usr/local as desired. Not many dependencies so it wasn't as painful as some packages to install this way.
Followup With ssh problem
Hey There, I would first of all like to thank everyone who responded altruistically to my originally posts. I would say that I now have half a problem compared to the whole specimen that I had before. I do indeed have an "ssh" server installed on my linux box, and it seems to be working just fine. I am able to ssh over to my "shellworld" account without any problem. However, I am not able to ssh over from shellworld to my linux box. When ever I attempt to do so, I receive the following error message after several minutes of complete inactivity. QUOTE ON:** [~] $ ssh riverwind.dontexist.org ssh: connect to host riverwind.dontexist.org port 22: Operation timed out [~] $ For what ever reason, the system just seems to hang up and then time out. When once I get this problem taken care of, I will then be able to tackle my email problem. As always, any help would be highly appreciated. cheerio, Riv Feel free to visit my website and my blog and learn more about me and what I stand for. My Website @ http://riverwind.shellworld.net My Blog http://windraven13.livejournal.com/ -- 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/pine.bsf.4.64.1108231518140.10...@server1.shellworld.net
Re: howto boot from the second disk in raid 1
On 8/23/2011 12:50 PM, abdelkader belahcene wrote: > *hi, > I installed squeeze on 2 disks sata using raid 1. Hardware/mobo fakeraid, or Linux MD RAID (mdadm)? Please state mobo brand and model#, as well as any IDE/SATA PCI/e cards. > the system runs fine with both disks, it runs fine with the first disk > alone, > > > but it fails to reboot from the second disk alone. > although i installed grub in both disks > > when i used the second disk alone, it is detected as slave no master > disk detected!!!, > so the system reboot without stopping > > is there a possibility to declare the disk as master??? > > thanks for help > * SATA doesn't have "master" and "slave" designations, so I'd say you're using IDE disks, or your system BIOS is funky. Also, Master and Slave don't mean what you apparently think they do. These settings have nothing to do with software, should not affect boot order, or how Linux runs. In the world or IDE/PATA, you can have a single slave device on a cable in absence of a "Master" device. Think of "Master" and "Slave" as "0" and "1" instead. They are simply designations, but given horribly bad names decades ago by engineers with brain damage. Regardless, you should be able to configure the boot order in the BIOS to do whatever you want, unless of course this is a really old PC. -- Stan -- 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/4e53ff4e.8000...@hardwarefreak.com
Re: Followup With ssh problem
On 08/23/2011 04:18 PM, RiverWind wrote: > I do indeed have an "ssh" server installed on my linux box, and it > seems to be working just fine. We need details, see below. > I am able to ssh over to my > "shellworld" account without any problem. However, I am not able to > ssh over from shellworld to my linux box. These are completely different operations. > [snip] > > As always, any help would be highly appreciated. It would be easier to help if you followed the troubleshooting steps Bob Proulx said in reply to the other thread so that we can have an idea of where the problem happens. -- Time and tide wait for no man. Eduardo M KALINOWSKI edua...@kalinowski.com.br -- 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/4e540102.2090...@kalinowski.com.br
libnet-snmp-devel package ?
Hi, I'm trying to install HPLIP on Debian 6, but install fails for network (which I need) because of libnetsnmp-devel. I can find libnet-snmp, but no devel. Can someone help me out where I can find that? Thank you. -- 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/j311cv$caj$1...@dough.gmane.org
Re: Installing debian package independent from system
On Tue, 23 Aug 2011 11:24:38 -0300, D G Teed wrote: > A user would like the latest and greatest zsh and we have a deb package > for it. For security purposes I want to keep the slightly older version > of zsh obtained and maintained from debian packages as the system > default zsh. Your reasoning does not seem logical to me. If you need to stick to an older version of a given package for "security purposes", then why allow one user access to an allegedly insecure version? On the other hand, if it is considered safe for that user to have access to the latest version, then why not just make it standard for everyone? -- 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/j3123a$7cs$1...@dough.gmane.org
Re: howto boot from the second disk in raid 1
abdelkader belahcene wrote: > but it fails to reboot from the second disk alone. > although i installed grub in both disks Are you very certain that you installed grub on both disks? Because failure to do this is a very common reason that systems won't boot from the second disk. Previous versions of Debian such as Lenny did not automatically install onto both disks. I believe that is now improved on Squeeze and later and grub is automatically installed on both disks IIRC. For the previous grub these instructions will install it on the second disk. Assuming /dev/sdb is your second disk, adjust if needed. # grub grub> device (hd0) /dev/sdb grub> root (hd0,0) grub> setup (hd0) grub> quit For the new Grub2, I don't know. I haven't been able to learn it yet. Perhaps someone else will be kind enough to step up and say what needs to be done to install grub2 on a second disk. Probably just: grub-install /dev/sdb Bob signature.asc Description: Digital signature
Re: howto boot from the second disk in raid 1
Bob Proulx wrote: > # grub > grub> device (hd0) /dev/sdb > grub> root (hd0,0) > grub> setup (hd0) > grub> quit Oh! I made an (hd0,0) assumption above and didn't explain it. That valud may be different depending upon your configuration. But in the old grub you can search for it like this: grub> find /grub/stage1 (hd0,0) (hd1,0) On my system /boot is in /dev/md0 and that is actually /dev/sda1 and /dev/sdb1 and so the files are found in (hd0,0) and (hd1,0). Therefore mapping /dev/sdb to hd0 means (hd0,0) will be /dev/sdb1. If you have /boot some place else then your information will need to be different. Again, the new grub is probably completely different. I haven't worked with it enough to know how to drive it at this level. Bob signature.asc Description: Digital signature
Re: howto boot from the second disk in raid 1
On Tue, Aug 23, 2011 at 4:44 PM, Bob Proulx wrote: > > For the new Grub2, I don't know. I haven't been able to learn it yet. > Perhaps someone else will be kind enough to step up and say what needs > to be done to install grub2 on a second disk. Probably just: > > grub-install /dev/sdb Correct. And should work for grub1 too. -- 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/CAOdo=SzFu605rdJJA-bPM¢gvbtsq5qebbhkxmbnmsh_o4...@mail.gmail.com
Dropped Connections and "Failed to create cgroup nnnn: -17" Kernel Message When vsftpd Spawning a New Process
Hello list, I am experiencing the following issue with a Debian squeeze based server and the most recent squeeze-backports kernel: I realized that some vstfpd daemons randomly drop connections (sending a FIN right after the initial TCP hand shake was completed). Furthermore, a "Failed to create cgroup : -17" message is logged by the kernel. Furthermore, I am observing a steadily increasing number of directories named like pids being created in the root of the cgroup virtual filesystem (mounted at /cgroup). For each connection attempt to a vsftpd daemon a new directory is created. Those directories seem to be never deleted. After a few days of uptime there are about 7,500 directories while there constantly are only about 150 processes running (more or less idling, this server usually has low load). When stracing vsftpd the call that fails seems to be this one (full output below): clone(child_stack=0, flags=0x2800|SIGCHLD) = -1 EEXIST (File exists) Which makes me believe that those "zombie directories" in /cgroup might conflict with the new pid . The longer the server is up the more likely it becomes that connections are dropped. Side note: The affected vsftpd daemons are running on a server that also is hosting an LXC-based virtual server. I have experienced a steadily increasing soft IRQ load on the server while a cgroup virtual filesystem being mounted. I have upgraded to the recent squeeze-backports kernel which seems not to suffer from this soft IRQ issue. vsftpd daemons running inside LXC containers do not drop connections. Anyone experiencing a similar issue or has any suggestions? When reporting a bug for this issue would this need to be reported against the kernel package? Below is some information I thought might be useful. If required, I will gladly provide any additional information. Cheers, Dirk I am using vsftpd 2.3.2-3 which AFAIK is the most recent version available from the squeeze and squeeze-backports repositories. "uname -a" output: Linux x 2.6.39-bpo.2-amd64 #1 SMP Tue Jul 26 10:35:23 UTC 2011 x86_64 GNU/Linux "strace vsftpd /etc/vsftp.conf" output (successful connection attempt): alarm(1)= 0 rt_sigreturn(0x1) = -1 EINTR (Interrupted system call) alarm(0)= 1 wait4(-1, NULL, WNOHANG, NULL) = 6385 wait4(-1, NULL, WNOHANG, NULL) = -1 ECHILD (No child processes) accept(3, {sa_family=AF_INET, sin_port=htons(46631), sin_addr=inet_addr("xxx.xxx.xxx.xxx")}, [16]) = 4 clone(child_stack=0, flags=0x2800|SIGCHLD) = 6387 close(4)= 0 accept(3, 0x7fffc3ecdf70, [28]) = ? ERESTARTSYS (To be restarted) "strace vsftpd /etc/vsftp.conf" output (failed connection attempt): alarm(1)= 0 rt_sigreturn(0x1) = -1 EINTR (Interrupted system call) alarm(0)= 1 wait4(-1, NULL, WNOHANG, NULL) = 6387 wait4(-1, NULL, WNOHANG, NULL) = -1 ECHILD (No child processes) accept(3, {sa_family=AF_INET, sin_port=htons(47917), sin_addr=inet_addr("xxx.xxx.xxx.xxx")}, [16]) = 4 clone(child_stack=0, flags=0x2800|SIGCHLD) = -1 EEXIST (File exists) close(4)= 0 accept(33, 0x7fffc3ecdf70, [28]) = ? ERESTARTSYS (To be restarted) -- 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/4e54188c.6060...@weinhardt.biz
Re: howto boot from the second disk in raid 1
Tom H wrote: > Bob Proulx wrote: > > For the new Grub2, I don't know. I haven't been able to learn it yet. > > Perhaps someone else will be kind enough to step up and say what needs > > to be done to install grub2 on a second disk. Probably just: > > > > grub-install /dev/sdb > > Correct. Oh good. Thanks for jumping in with information. > And should work for grub1 too. But it doesn't work for grub1. I am hoping that it is improved with grub2 but don't know. I have tried grub-install /dev/sdb with grub1 and it does not create a bootable disk for me. I would need to set up a test case again to get to the details but what seems to happen is that doing that with grub1 somehow creates a configuration where it only works if the disk is /dev/sdb. But if sda fails then on the reboot sdb rotates down to become sda and won't boot displaying an early part of the grub boot line but never getting to the grub boot menu. I remember once putting in another dummy disk just to hold the sda position to force the raid disk back to sdb and that enabled it to boot which caused me to believe somehow it is configured requiring it to be sdb and failing to work when it is sda. That problem is why it is necessary with grub1 to specify the sdb device as (hd0) when issuing the grub setup command. Then it is configured as sda and in the future when it is sda it will boot.a Bob signature.asc Description: Digital signature
Re: howto boot from the second disk in raid 1
On Tue, Aug 23, 2011 at 5:21 PM, Bob Proulx wrote: > Tom H wrote: >> Bob Proulx wrote: >>> For the new Grub2, I don't know. I haven't been able to learn it yet. >>> Perhaps someone else will be kind enough to step up and say what needs >>> to be done to install grub2 on a second disk. Probably just: >>> >>> grub-install /dev/sdb >> >> Correct. > > Oh good. Thanks for jumping in with information. You're welcome. >> And should work for grub1 too. > > But it doesn't work for grub1. I am hoping that it is improved with > grub2 but don't know. It works for grub1: http://www.gnu.org/software/grub/manual/legacy/grub.html#Invoking-grub_002dinstall And it also works with grub2 because it doesn't have a "grub" prompt so there's no other way of populating "/boot/grub" and installing grub2 to the MBR. > I have tried grub-install /dev/sdb with grub1 and it does not create a > bootable disk for me. I would need to set up a test case again to get > to the details but what seems to happen is that doing that with grub1 > somehow creates a configuration where it only works if the disk is > /dev/sdb. But if sda fails then on the reboot sdb rotates down to > become sda and won't boot displaying an early part of the grub boot > line but never getting to the grub boot menu. I remember once putting > in another dummy disk just to hold the sda position to force the raid > disk back to sdb and that enabled it to boot which caused me to > believe somehow it is configured requiring it to be sdb and failing to > work when it is sda. That problem is why it is necessary with grub1 > to specify the sdb device as (hd0) when issuing the grub setup > command. Then it is configured as sda and in the future when it is > sda it will boot. Both of these work - and have worked for me. The first is the one that most would agree is correct. As long as it works, I don't care. #!/bin/sh GRUB=/sbin/grub $GRUB --batch --no-floppy /dev/null device (hd0) /dev/sda root (hd0,0) setup (hd0) device (hd1) /dev/sdb root (hd1,0) setup (hd1) quit EOF #!/bin/sh GRUB=/sbin/grub $GRUB --batch --no-floppy /dev/null device (hd0) /dev/sda root (hd0,0) setup (hd0) device (hd0) /dev/sdb root (hd0,0) setup (hd0) quit EOF -- 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/CAOdo=SyfVUzj3qaGt51P-HG=-mcbv-kj86jxiocuesqzj8c...@mail.gmail.com
Re: howto boot from the second disk in raid 1
On 24/08/11 06:44, Bob Proulx wrote: > abdelkader belahcene wrote: >> but it fails to reboot from the second disk alone. >> although i installed grub in both disks > > Probably just: > > grub-install /dev/sdb > > Bob Followed by:- # update-grub Cheers -- "People ask me what I think about that woman priest thing. What, a woman priest? Women priests. Great, great. Now there's priests of both sexes I don't listen to." ~ Bill Hicks -- 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/4e542c67.9000...@gmail.com
Re: Fwd: Billion 7800N
On 22 August 2011 22:02, Camaleón wrote: > On Mon, 22 Aug 2011 10:27:57 +1000, Heddle Weaver wrote: > > > On 21 August 2011 21:20, Camaleón wrote: > >> But do you really need it? I mean, does your ISP require you to use a > >> PPP connection with your router? I also use a DSL connection and don't > >> need PPP for nothing. > >> > >> > > No I don't. > > I need pppd of course, but not ppp. > > Can you explain why you need pppd? :-? > Well, I was under the impression that with ppp over ethernet, the daemon would be required. I'm probably wrong. That's alright. It makes other people feel good. > > >> Can you point me to somewhere on the Internet where I can see what are > >> your ISP connection settings? > >> > >> > > I'll bring them into town and post them on the next trip, probably > > tomorrow. > > This is getting very interesting, like a mystery novel :-) > I've got severe health problems, so I have access to the computers of a specialist Disabled Job Network organisation. They somewhat draw the line before downloading an iso and burning it to disc, though. This is also why I haven't got back to the list over the last couple of days. Stretched out on a bed with a definition of headaches that engenders a death-wish, which I would indulge in if I could move. Luckily the situation takes over completely and I'm incapable of moving. > > >> Okay, that's what I thought. Then the same has to apply for your linux > >> box. Can you check if DHCP is enable on the windows laptop? > >> > >> > > It's not mine. so I've given it back, but to establish a connection > > immediately, it must have been as I would have needed an IP address to > > connect. > > Yes, having DHCP on is the most common nowadays. Anyway, having a static > IP would have required to manually set the gateway. > Well, there could be something in that. As I recall, this ISP relegates static and not dynamic addresses. > > >> >> The network card requires a firmware, you should download from > >> >> non-free repos. Additional information here: > >> >> > >> >> http://wiki.debian.org/Firmware > >> >> > >> >> > >> > Further along in the sequence, eth0 and the firmware seem to connect > >> > up, so I don't think there's a problem there. > >> > >> Anyway, you should install it. > >> > >> > > O.K. > > I'll do that with aptitude when I get a connection. > > Yep, just to discard any source of the problem. > > >> In fact, the same you did in your windows box you have to do in your > >> linux box. If DHCP is enabled on windows, enable it on linux. If no > >> dialer was used in windows, do not use a dialer in linux, and so on... > >> > >> > > Well, I'm actually getting an IP address on the Linux laptop, so DHCP > > must be active. > > If your ethernet device has an IP assigned that means the router is able > to communicate with your laptop and so you should also be able to access > to the router or at least get a response from wget different than a > "timeout" :-? > I believe the contact between the laptop and modem is inconsistent and think this is the source of the majority of disconnections. I think there is more than one aspect to this problem. > > > I'll post that when I get back in also, although I'm sure I've done it > > already somewhere. > > I recall my IP, the peer's IP, DNS primary and secondary, amongst other > > things, but I'll get proof positive. > > Regards and thanks, > > Waiting anxiously for the feedback :-) > O.K., here it is, but it might be a bit of an over-dose: dhcp last modified May 23rd, and dhcp3, last modified April 29th, both installed and appear active ~ Primary server: 203.12.160.35 Secondary server: 203.12.160.36 These are both present and correct in 'resolve.conf' ~~ This is interesting because it states 'existing default route through ppp3': weaver@Bandit:~$ su Password: Bandit:/home/weaver# plog Aug 23 18:24:15 Bandit pppd[22604]: PAP authentication succeeded Aug 23 18:24:15 Bandit pppd[22604]: peer from calling number 00:03:A0:11:E0:78 authorized Aug 23 18:24:15 Bandit pppd[22604]: not replacing existing default route through ppp3 Aug 23 18:24:15 Bandit pppd[22604]: local IP address 110.174.203.247 Aug 23 18:24:15 Bandit pppd[22604]: remote IP address 10.20.21.81 Aug 23 18:24:15 Bandit pppd[22604]: primary DNS address 203.12.160.35 Aug 23 18:24:15 Bandit pppd[22604]: secondary DNS address 203.12.160.36 Bandit:/home/weaver# ~~ ...and here we have ppp addresses where there shouldn't be any: Bandit:/home/weaver# /sbin/ifconfig eth0 Link encap:Ethernet HWaddr 00:15:60:c2:63:46 inet6 addr: fe80::215:60ff:fec2:6346/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2297 errors:0 dropped:110 overruns:0 frame:0 TX packets:3351 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:583932 (570.2 KiB) TX bytes:340990 (332.9 KiB)
Re: howto boot from the second disk in raid 1
On Tue, Aug 23, 2011 at 6:40 PM, Scott Ferguson wrote: > On 24/08/11 06:44, Bob Proulx wrote: >> abdelkader belahcene wrote: >>> but it fails to reboot from the second disk alone. >>> although i installed grub in both disks > > > >> Probably just: >> >> grub-install /dev/sdb > > Followed by:- > # update-grub Unecessary if grub's already installed. -- 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/CAOdo=SysL=kzlew5ca7h5hpxmqmrlm07sgjzkfq6q9dwujf...@mail.gmail.com
debmirror starts works stops on error
I have a partial local amd64/i386 mirror, been using debmirror & my mirror script as a cron job for at least two previous releases. This has stopped working with my upgrade to Squeeze. I have enclosed the part of the output cron sends to me. Not sure if relevant but the dl stops, on a daily basis, on this very large package, libqtwebkit4-dbg_2.1.0~2011week13-2_i386.deb, smaller packages, up to this point, are okay. [ 45%] Getting: pool/main/q/qtoctave/qtoctave_0.10.1-2_amd64.deb [ 45%] Getting: pool/main/q/qtoctave/qtoctave_0.10.1-2_i386.deb [ 45%] Getting: pool/main/q/qtwebkit/libqtwebkit4-dbg_2.1.0~2011week13-2_i386.deb ### ### ### ### ### ### ### ### ### snip ## Unable to close datastream at /usr/bin/debmirror line 1649 failed:Opening BINARY mode data connection for pool/main/q/qtwebkit/libqtwebkit4-dbg_2.1.0~2011week13-2_i386.deb (26711 8854 bytes). [ 45%] Getting: pool/main/q/qtwebkit/libqtwebkit4_2.1.0~2011week13-2_amd64.deb #getsockname() on closed socket GEN41 at /usr/lib/perl/5.10/IO/Socket.pm line 245. failed:Connection closed at /usr/bin/debmirror line 1655. [ 45%] Getting: pool/main/q/qtwebkit/libqtwebkit4_2.1.0~2011week13-2_i386.deb # failed:Connection closed at /usr/bin/ debmirror line 1655. -- Peace, Greg -- 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/201108231527.42401.gomadtr...@gci.net
Re: pdfedit
On Wed, Aug 17, 2011 at 06:03:20PM -0400, Rick Pasotto wrote: > I guess I'm too stupid to figure it out. > > I have a pdf document that I would like to add two lines of text to > (different positions, different fonts). Under the 'Page' menu I see an > icon for adding text but it is greyed out. I don't see that icon > anywhere else on the screen. > > The so-called 'Help' is useless. > > Could someone please help me get started? ---end quoted text--- Sure that the PDF text isn't an image? Could be a scan ... -- 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/20110824022717.ga23...@thinkpad.gateway.2wire.net
How to control network speed?
Hi, For some reason, I have a linux machine that has to have a network bandwidth limitation for the whole system. So I looked into command tc. And used this script from the internet. Well, the script returned successful, but in fact it did not effect anything. Could someone help me? Thanks. #!/bin/bash # # tc uses the following units when passed as a parameter. # kbps: Kilobytes per second # mbps: Megabytes per second # kbit: Kilobits per second # mbit: Megabits per second # bps: Bytes per second # Amounts of data can be specified in: # kb or k: Kilobytes # mb or m: Megabytes # mbit: Megabits # kbit: Kilobits # To get the byte figure from bits, divide the number by 8 bit # # # Name of the traffic control command. TC=/sbin/tc # The network interface we're planning on limiting bandwidth. IF=eth0 # Interface # Download limit (in mega bits) DNLD=50kbps # DOWNLOAD Limit # Upload limit (in mega bits) UPLD=50kbps # UPLOAD Limit # IP address of the machine we are controlling IP=10.9.2.55 # Host IP # Filter options for limiting the intended interface. U32="$TC filter add dev $IF protocol ip parent 1:0 prio 1 u32" start() { # We'll use Hierarchical Token Bucket (HTB) to shape bandwidth. # For detailed configuration options, please consult Linux man # page. $TC qdisc add dev $IF root handle 1: htb default 30 $TC class add dev $IF parent 1: classid 1:1 htb rate $DNLD $TC class add dev $IF parent 1: classid 1:2 htb rate $UPLD $U32 match ip dst $IP/32 flowid 1:1 $U32 match ip src $IP/32 flowid 1:2 # The first line creates the root qdisc, and the next two lines # create two child qdisc that are to be used to shape download # and upload bandwidth. # # The 4th and 5th line creates the filter to match the interface. # The 'dst' IP address is used to limit download speed, and the # 'src' IP address is used to limit upload speed. } stop() { # Stop the bandwidth shaping. $TC qdisc del dev $IF root } restart() { # Self-explanatory. stop sleep 1 start } show() { # Display status of traffic control status. $TC -s qdisc ls dev $IF } case "$1" in start) echo -n "Starting bandwidth shaping: " start echo "done" ;; stop) echo -n "Stopping bandwidth shaping: " stop echo "done" ;; restart) echo -n "Restarting bandwidth shaping: " restart echo "done" ;; show) echo "Bandwidth shaping status for $IF:" show echo "" ;; *) pwd=$(pwd) echo "Usage: tc.bash {start|stop|restart|show}" ;; esac exit 0 -- 竹密岂妨流水过 山高哪阻野云飞 -- 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/CABErt4eo8an_PK+E9kb4HsfR8gA3VYCvStWdpXSGVK=n=vu...@mail.gmail.com
proftpd
I am using lenny. I did this: aptitude install proftpd useradd animal123 passwd * /etc/init.d/proftpd restart Then I did this: useradd dirtypenguin passwd dirtypenguin * /etc/init.d/proftpd restart Why is it that animal123 can access via regular ftp through FileZilla and dirtypenguin can not get access through FileZilla unless I select sftp on port 21 through the FileZilla. I want dirtypenguin to be able to use FileZilla for regular ftp access on port 21. Not sftp access on port 21. I dont know why the first user I set up works perfectly while dirtypenguin seems to have gotten hosed. If I can solve this problem I will have solved a long lingering issue with the use of ftp for WordPress. Thank you! -- 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/4e5494c3.6040...@gmail.com
Re: howto boot from the second disk in raid 1
On 24/08/11 09:59, Tom H wrote: > On Tue, Aug 23, 2011 at 6:40 PM, Scott Ferguson > wrote: >> On 24/08/11 06:44, Bob Proulx wrote: >>> abdelkader belahcene wrote: but it fails to �reboot from the second disk alone. although �i installed �grub in both disks >> >> >> >>> Probably just: >>> >>> � grub-install /dev/sdb >> >> Followed by:- >> # update-grub > > Unecessary if grub's already installed. > > Yes - I was wrong. If it was a new disk, the --recheck parameter should have been applied to check the device map. If /boot/grub already exists on /dev/sdb then that's probably not necessary. # grub-install /dev/sdb would have given an error if grub was not already installed. That will install /boot on /dev/sdb Cheers -- "People ask me what I think about that woman priest thing. What, a woman priest? Women priests. Great, great. Now there's priests of both sexes I don't listen to." ~ Bill Hicks -- 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/4e549e8d.2040...@gmail.com