Re: open office install fails

2013-06-22 Thread David Sastre Medina
On Sat, Jun 22, 2013 at 06:17:43AM -0400, Jeff Shearer wrote:
 I am using Debian 7.? I upgraded from 6 recently.? My attempt to install 
 the open office productivity suite seems to have failed.? While synaptic 
 indicates it is installed, I cannot find it on the reall bad new GUI.? Also, 
 I noted that none of
 the applications like writer indicate they are installed.? Do I need to 
 install each of them manually?

My suggestion would be to purge all of Open Office and switch to Libre
Office.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: syslinux, live-build - looking for files

2013-03-24 Thread David Sastre Medina
On Sat, Mar 23, 2013 at 07:31:21PM +0100, Hans-J. Ullrich wrote:
 Hi folks, 
 
 I am looking for the following files for wheezy:
 
 ldlinux.c32
 libcom32.c32
 libutil.c32
 
 They should be in package live-build:
 
 apt-file search ldlinux.c32
 live-build: /usr/share/live/build/bootloaders/extlinux/ldlinux.c32
 live-build: /usr/share/live/build/bootloaders/isolinux/ldlinux.c32
 live-build: /usr/share/live/build/bootloaders/pxelinux/ldlinux.c32
 live-build: /usr/share/live/build/bootloaders/syslinux/ldlinux.c32
 
 But there are only a symlink to /usr/lib/syslinux/l*.c32
 
 I suppose the related packages are syslinux and syslinux-common.
 If someone got these files somehow maybe from an older installation or 
 another 
 distribution, it would be nice, if he could send me.
 
 On the other hand it might be a bug? I need those files to create a live-cd.

All three files can be found in the upstream package¹ (pick the version
you need):

$ atool -l syslinux-5.01.zip | grep -E 'l(dlinux|ib(util|com32)).c32'
24812  2013-01-28 17:55   com32/libutil/libutil.c32
   115784  2013-01-28 17:55   com32/elflink/ldlinux/ldlinux.c32
   184268  2013-01-28 17:55   com32/lib/libcom32.c32

Indeed, it looks like a (syslinux-common?) packaging bug, as the target 
for those files can't be found in the package:

# apt-file search /usr/lib/syslinux/l*.c32
syslinux-common: /usr/lib/syslinux/linux.c32

¹ https://www.kernel.org/pub/linux/utils/boot/syslinux/

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: syslinux, live-build - looking for files

2013-03-24 Thread David Sastre Medina
On Sun, Mar 24, 2013 at 06:45:51PM +0100, Hans-J. Ullrich wrote:
 Am Sonntag, 24. März 2013 schrieben Sie:
  On Sat, Mar 23, 2013 at 07:31:21PM +0100, Hans-J. Ullrich wrote:
   I am looking for the following files for wheezy:
   
   ldlinux.c32
   libcom32.c32
   libutil.c32
   
   They should be in package live-build:
   
   apt-file search ldlinux.c32
   live-build: /usr/share/live/build/bootloaders/extlinux/ldlinux.c32
   live-build: /usr/share/live/build/bootloaders/isolinux/ldlinux.c32
   live-build: /usr/share/live/build/bootloaders/pxelinux/ldlinux.c32
   live-build: /usr/share/live/build/bootloaders/syslinux/ldlinux.c32
   
   But there are only a symlink to /usr/lib/syslinux/l*.c32
  
  All three files can be found in the upstream package¹ (pick the version
  you need):
  
  $ atool -l syslinux-5.01.zip | grep -E 'l(dlinux|ib(util|com32)).c32'
  24812  2013-01-28 17:55   com32/libutil/libutil.c32
 115784  2013-01-28 17:55   com32/elflink/ldlinux/ldlinux.c32
 184268  2013-01-28 17:55   com32/lib/libcom32.c32
  
  Indeed, it looks like a (syslinux-common?) packaging bug, as the target
  for those files can't be found in the package:
  
  # apt-file search /usr/lib/syslinux/l*.c32
  syslinux-common: /usr/lib/syslinux/linux.c32
  
  ¹ https://www.kernel.org/pub/linux/utils/boot/syslinux/
 Nope, it is ldinux.c32 and not linux.c32 that I am looking for.

Precisely, that's what I'm trying to show (maybe not very
successfully). The sylinux-common package does not contain files
matching /usr/lib/syslinux/l*.c32 other than linux.c32.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Fixing /proc/mtab

2013-03-08 Thread David Sastre Medina
On Fri, Mar 08, 2013 at 10:19:36AM +0100, Maroš Žilka wrote:
 Hi,
 
 we have problem and its bit complicated to explain but i will try.
 There are two servers on same LAN (let's say server A and server B) on
 both is mounted same storage(S1) on /apps/ . We created dir on that
 storage /test so on server A and server B it shoes as /apps/test but
 on server A we mounted on /apps/test other storage (S2) and on server
 B there was mounted again other storage (S3). We wanted to delete
 /apps from both servers so we first unmounted S3 on server B and
 deleted test dir (which was shared on A and B) which made server A
 messed up coz there was still mounted S2 on path which doesnt rly
 exist now...
 when we list mounts with mount it shows is it but when we want to
 umount it says path (dir) not found or doesnt exist.
 we tried to recreate test and then mount/umount it but that just
 created new entry and after umounting original mount was still listed
 by mount.
 If I am right mount reads info from /etc/mtab which is linked to /proc/mtab
 is there any way to flush/clear/update /proc/mtab ? Its important to
 keep server running...

You never say how do you share your filesystems, NFS?
If that is the case, try restarting the NFS server, or at least (if
can't do that) 'exportfs -rva'. You might have stale filehandles, in which case,
you'll probably need to reboot.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Installer not reading preseed.cfg

2013-03-08 Thread David Sastre Medina
On Fri, Mar 08, 2013 at 06:21:39AM -0600, keshav prabhakar wrote:
 
  This would imply preseeding might have set up networking. Has it?
 Networking is setup by the kernel boot parameters that are on the 'append' 
 line. It looks like this:
  append initrd=Debian-6.0.7-amd64/netboot/initrd.gz interface=eth1 
 domain=mydomain netcfg/get_nameservers=x.x.x.x netcfg/get_hostname=myhostname 
 locale=en_US debian-installer/country=US debian-installer/language=en 
 debian-installer/keymap=us console-keymaps-at/keymap=American English 
 auto=true priority=critical 
 preseed/url=http://192.168.1.12/anaconda/cfg/preseed.cfg

This is a snippet of what I use in the tftp server side, adapt it to your needs:

label debian6_64
  menu label Install - ^Debian Wheezy 64
  kernel debian-installer/amd64/linux
  initrd debian-installer/amd64/initrd.gz
  append locale=en_US.UTF-8 console-keymaps-at/keymap=es auto=true 
priority=critical url=http://10.0.0.2/preseed.cfg

Note it's not 'preseed/url', but 'url' alone.
Hope it's useful.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Further to mirrors..........

2013-03-08 Thread David Sastre Medina
On Sat, Mar 09, 2013 at 12:48:54AM +1100, Charlie wrote:
 
This is the speed test I just completed. Not brilliant but abot as
good as it gets for me here:

Have you tried pinging those hosts? or tracerouting them? name
resolution problems? do you use a proxy?

Something like:

# ping -c1 ftp.de.debian.org
PING ftp.de.debian.org (141.76.2.4) 56(84) bytes of data.
64 bytes from ftp.de.debian.org (141.76.2.4): icmp_req=1 ttl=50 time=93.6 ms

--- ftp.de.debian.org ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 93.694/93.694/93.694/0.000 ms

# dig ftp.de.debian.org

;  DiG 9.8.4-rpz2+rl005.12-P1  ftp.de.debian.org
;; global options: +cmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 7604
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ftp.de.debian.org. IN  A

;; ANSWER SECTION:
ftp.de.debian.org.  2620IN  A   141.76.2.4

;; Query time: 73 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Mar  8 15:25:32 2013
;; MSG SIZE  rcvd: 51

# tracepath ftp.de.debian.org
 1:  pris.crapsteak.org0.092ms pmtu 1500
 1:  router.crapsteak.org  1.195ms
 1:  router.crapsteak.org  1.082ms
 2:  router.crapsteak.org  1.129ms pmtu 1492
 2:  192.168.153.155.957ms
 3:  241.Red-81-46-69.staticIP.rima-tde.net   55.899ms
 4:  So2-0-0-0-grtmadpe3.red.telefonica-wholesale.net166.974ms asymm  7
 5:  Xe7-1-3-0-grtmadno1.red.telefonica-wholesale.net 56.574ms asymm  8
 6:  213.140.55.178   90.845ms asymm  9
 7:  4.69.158.181103.649ms asymm 14
 8:  ae-61-61.csw1.Frankfurt1.Level3.net 288.445ms asymm 13
 9:  ae-3-80.edge5.Frankfurt1.Level3.net  93.170ms asymm 12
10:  212.162.4.6  88.419ms asymm 13
11:  cr-erl1-te0-0-0-2-5.x-win.dfn.de102.770ms asymm 12
12:  cr-erl1-te0-7-0-1.x-win.dfn.de  101.836ms
13:  kr-dre80-0.x-win.dfn.de 363.887ms
14:  ftp.de.debian.org   109.914ms reached
 Resume: pmtu 1492 hops 14 back 50

After that, and once you have discarded local problems, you can use
some external service:

http://www.downforeveryoneorjustme.com/

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: unattended-upgrades not working

2013-03-07 Thread David Sastre Medina
On Wed, Mar 06, 2013 at 11:34:33PM +0100, A wrote:
 On Wed, Mar 6, 2013 at 9:03 PM, David Sastre Medina 
 d.sastre.med...@gmail.com wrote:
 
  On Wed, Mar 06, 2013 at 08:32:47PM +0100, A wrote:
   Hola, David,
  
   The file exists under that path, but I can't confirm if it's running
  since
   'invoke-rc.d unattended-upgrades status' returns no output. The same for
   'start' or 'stop' options, no output. I've checked that the proper
  symlinks
   to the file exist under /etc/rc0.d and /etc/rc6.d.
  
   In addition, after checking the content of the file [1], I think that it
   would affect unattended-upgrades only if the option
   Unattended-Upgrade::InstallOnShutdown in
   /etc/apt/apt.conf.d/50unattended-upgrades would be true. Which is not
   my case.
   Anyway, I would appreciate if you could provide a way to check if the
   /etc/init.d/unattended-upgrades is up and running.
 
  Apparently, there's no such service, it's simply a hook to be run on
  shutdown.
  Have you checked if manually calling the program, e.g:
 
  # unattended-upgrade --dry-run
 
  works as expected?
 
 
 Yes, I've tried it even adding the debug argument -d to your line above
 and the program works with no errors. The only error is that it doesn't run
 by itself, which would be great for an unattended task.
 
 
 
  Does the package provide a cron job for scheduled unattended upgrades?
  If not, you might need to write one yourself.
 
 
 If it does, which I think it should, I can't spot it. I've checked
 /etc/crontab and inside /etc/cron.{hourly,daily,weekly,monthly} and I
 can't see any reference to unattended upgrades.
 
 If you have to enable unattended-upgrades by yourself using a cron job, I
 don't see what's the point of the paragraph:
 
 If you would prefer to enable it from the command line, run
 sudo dpkg-reconfigure -plow unattended-upgrades.
 
 inside /usr/share/doc/unattended-upgrades/README. If running the line
 above is not enough to enable the script, they should document all the
 steps to take.

This is from /etc/cron.daily/apt:

# auto upgrade all upgradeable packages
UPGRADE_STAMP=/var/lib/apt/periodic/upgrade-stamp
if which unattended-upgrade /dev/null  check_stamp $UPGRADE_STAMP 
$UnattendedUpgradeInterval; then
if unattended-upgrade $XUUPOPT; then
update_stamp $UPGRADE_STAMP
debug_echo unattended-upgrade (success)
else
debug_echo unattended-upgrade (error)
fi
else
debug_echo unattended-upgrade (not run)
fi

which is provided by apt:

# apt-file search /etc/cron.daily/apt
apt: /etc/cron.daily/apt

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: unattended-upgrades not working

2013-03-07 Thread David Sastre Medina
On Thu, Mar 07, 2013 at 12:47:31PM +0100, A wrote:
 On Thu, Mar 7, 2013 at 11:18 AM, David Sastre Medina 
 d.sastre.med...@gmail.com wrote:
 
  This is from /etc/cron.daily/apt:
 
  # auto upgrade all upgradeable packages
  UPGRADE_STAMP=/var/lib/apt/periodic/upgrade-stamp
  if which unattended-upgrade /dev/null  check_stamp $UPGRADE_STAMP
  $UnattendedUpgradeInterval; then
  if unattended-upgrade $XUUPOPT; then
  update_stamp $UPGRADE_STAMP
  debug_echo unattended-upgrade (success)
  else
  debug_echo unattended-upgrade (error)
  fi
  else
  debug_echo unattended-upgrade (not run)
  fi
 
  which is provided by apt:
 
  # apt-file search /etc/cron.daily/apt
  apt: /etc/cron.daily/apt
 
 
 Yes, I can see the code but I still can't find why the package is not
 working. Should I contact the maintainer?

I assume you already opened a bug report¹ regarding this.

¹http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702509

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Who may post on the list.

2013-03-06 Thread David Sastre Medina
On Mon, Mar 04, 2013 at 08:21:08AM -0600, Hugo Vanwoerkom wrote:
 Lisi Reisz wrote:
 snip
 
 For those persons getting tired of these non-technical posts, check
 out debian user spanish. High quality posts and replies and Camaleón
 is still there.

Oh, boy. I left that ML a long time ago tired and frustated of too much
useless anger.
Glad to read it has improved since.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Wheel mouse inop

2013-03-06 Thread David Sastre Medina
On Tue, Mar 05, 2013 at 12:38:31AM -0600, Ben Ritchey wrote:
 I am running Debian 6.0.6 in a 32-bit VM under Wins 7 and the wheel
 mouse in debian is inoperative. I tried modifying the xorg.conf file
 for mouse type (previous postings elsewhere inidcate that was a fix)
 but to no avail :( How can I enable the wheel in debian?

What are you using as hypervisor? VMWare? VirtualBox? other?
This might be your hypervisor's fault, not the guest OS.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: unattended-upgrades not working

2013-03-06 Thread David Sastre Medina
On Tue, Mar 05, 2013 at 01:01:45PM +0100, A wrote:
 Hi there,
 
 I've been trying to make *unattended-upgrades* working on Wheezy with no
 success so far.
 
 The steps I have followed are:
 
  - Install *unattended-upgrades*
  - Enable it
 
 sudo dpkg-reconfigure -plow unattended-upgrades
 
  - Uncomment the following lines in
 */etc/apt/apt.conf.d/50unattended-upgrades*
 
 o=Debian,n=wheezy;
 o=Debian,n=wheezy-updates;
 o=Debian,n=wheezy-proposed-updates;
 o=Debian,n=wheezy,l=Debian-Security;
 
  - Wait two days
 
 
 It's supposed to run every day, but it did nothing by the time. I've
 checked its logs at */var/log/unattended-upgrades/* and apt history log at
 */var/log/apt/history.log* but nothing happened there since the
 installation.
 
 Is there any step I am missing to enable it? After reading the doc under
 */usr/share/doc/unattended-upgrades/README*, I think that the above are the
 only ones you have to follow to get it running.
 By the way, I use to shut down this box every night and turn it on again in
 the morning, so I installed *anacron* to prevent *cron* from missing its
 *cron.daily* jobs if the machine is off.
 
 Thanks in advance for your support.

From the package's file list¹, I see there's a service script:

/etc/init.d/unattended-upgrades

is it running and configured to be run on boot?

¹ http://packages.debian.org/wheezy/all/unattended-upgrades/filelist

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: unattended-upgrades not working

2013-03-06 Thread David Sastre Medina
On Wed, Mar 06, 2013 at 08:32:47PM +0100, A wrote:
 Hola, David,
 
 The file exists under that path, but I can't confirm if it's running since
 'invoke-rc.d unattended-upgrades status' returns no output. The same for
 'start' or 'stop' options, no output. I've checked that the proper symlinks
 to the file exist under /etc/rc0.d and /etc/rc6.d.
 
 In addition, after checking the content of the file [1], I think that it
 would affect unattended-upgrades only if the option
 Unattended-Upgrade::InstallOnShutdown in
 /etc/apt/apt.conf.d/50unattended-upgrades would be true. Which is not
 my case.
 Anyway, I would appreciate if you could provide a way to check if the
 /etc/init.d/unattended-upgrades is up and running.

Apparently, there's no such service, it's simply a hook to be run on
shutdown.
Have you checked if manually calling the program, e.g:

# unattended-upgrade --dry-run

works as expected?

Does the package provide a cron job for scheduled unattended upgrades?
If not, you might need to write one yourself.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Debian quiet boot

2012-07-12 Thread David Sastre Medina
On Wed, Jul 11, 2012 at 06:59:56PM +0200, Ralf Mardorf wrote:
 On Wed, 2012-07-11 at 16:52 +, Camaleón wrote:
  On Wed, 11 Jul 2012 20:49:12 +0430, Mostafa Hashemi wrote:
  
  (remember to send in plain text...)
  
   thank you my friends
   where should i add quiet nosplash exactly ? any other ways 
  
  In Wheezy, that's the default, I guess. 
  
  It can be set from /etc/default/grub file, variable 
  GRUB_CMDLINE_LINUX_DEFAULT=quiet, not sure for squeeze, though.
 
 For AVLinux (stable, squeeze) there's also such a file with such an
 entry. I'm using another grub, however, I suspect that quiet nosplash
 will not do what the OP wants to get.

There's plymouth.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: chroot or virtual machine

2012-05-15 Thread David Sastre Medina
On Sun, May 13, 2012 at 07:13:23PM +, Ramon Hofer wrote:
 Hi all
 
 I'm planning on setting up my new media server.
 
 So I was thinking of putting mythbackend, logitech media server, 
 rtorrent, nfs, samba, etc. into virtual machines.

A virtual machine for every server? On what purpose?
Is it about security?

 There's a discussion in the mythtv-users mailing list about virtual 
 machines. Especially this post got me thinking: 
 http://www.gossamer-threads.com/lists/mythtv/users/517075#517075
 Is it possible to have a working mythbackend and test a new version. If 
 all goes well replace the production backend?

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: server monitoring

2012-05-15 Thread David Sastre Medina
On Mon, May 14, 2012 at 03:10:55PM +0200, Stanisław Findeisen wrote:
 What tools would you recommend for monitoring the following on a server? :
 
I'd say you need several different things here:

 * kernel + process images in memory
 * shape of the process tree

-snmpd
-cgroups configuration, if I'm understanding you correctly.

 * binary integrity of files + permissions
 * users, groups

-Integrity and/or intrusion detection: aide, tripwire and alikes, plus
a centralized configuration management system: say puppet, chef,
cfengine, ...

 * network connections

-snmpd
-iptables, psad, fail2ban, etc
(and before someone jumps in and say: those are not monitoring
tools, think twice)

 * user sessions

-snmpd, IIRC

 * log files
 How about reporting? Logging would be good but logging to a local file
 is problematic as that could be compromised on a server hack...

WRT to logging security, syslog-ng can use TCP (more relable than UDP)
and SSL/TLS security. And you can always log to a remote server if you
are concerned about security.

After having these tools installed and configured, you can start using
a monitoring solution to integrate all the info in a centralized web
view. I know nagios is pretty standard, but what most people is not
telling is most its developers fleed. You should check Icinga instead.
https://www.icinga.org/2011/11/03/icinga-vs-nagios-a-developers-comparison/
My personal choice is zabbix. The only thing I miss with zabbix is
snmpv3 SHA/AES support. Other would be munin, cacti.

Most probably all of those monitoring solutions have templates for
OSes and applications (apache, jboss, ... you name it)

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: chroot or virtual machine

2012-05-15 Thread David Sastre Medina
On Tue, May 15, 2012 at 12:51:44PM +0200, Arnt Karlsen wrote:
 On Tue, 15 May 2012 11:45:58 +0200, David wrote in message 
 20120515094556.ga4...@pris.crapsteak.org:
 
  On Sun, May 13, 2012 at 07:13:23PM +, Ramon Hofer wrote:
   Hi all
   
   I'm planning on setting up my new media server.
   
   So I was thinking of putting mythbackend, logitech media server, 
   rtorrent, nfs, samba, etc. into virtual machines.
  
  A virtual machine for every server? On what purpose?
  Is it about security?
 
 ..yup, the idea is deny bad code access to as much as possible,
 it can only kill whatever it can see and touch, such as vm's.

I see. SELinux can help, both in the case of using VMs (different VMs
can be executed in different MLS levels), and in the case of not using
VMs at all.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: change local definitions

2012-05-01 Thread David Sastre Medina
On Tue, May 01, 2012 at 08:55:47AM -0400, Tom H wrote:
 On Tue, May 1, 2012 at 8:08 AM, Ivo Daniel Alves
 ivodaniel.al...@gmail.com wrote:
 
  I'm using Amanda on SL 6.2 to backup several computers including windows
  workstations.
 
  When I do the backups from windows clients, I get some errors when
  compressing with zip because of special chars that like ç á, or ã, for
  example (European portuguese: PT_pt).
   I think this happens because SL is using UFT8 by default. Can I change it
  to iso88591? How? Can I use both char settings?
  In the next lines de output of locale and locale -a
 
  [ivo@mega ~]$ locale
  LANG=pt_PT.utf8
  LC_CTYPE=pt_PT.utf8
  LC_NUMERIC=pt_PT.utf8
  LC_TIME=pt_PT.utf8
  LC_COLLATE=pt_PT.utf8
  LC_MONETARY=pt_PT.utf8
  LC_MESSAGES=pt_PT.utf8
  LC_PAPER=pt_PT.utf8
  LC_NAME=pt_PT.utf8
  LC_ADDRESS=pt_PT.utf8
  LC_TELEPHONE=pt_PT.utf8
  LC_MEASUREMENT=pt_PT.utf8
  LC_IDENTIFICATION=pt_PT.utf8
  LC_ALL=
 
 You can use /etc/sysconfig/i18n.

...if you are on RHEL or CentOS or Fedora.
Debian way would be dpkg-reconfigure locales.

Also, UTF-8 should give you wider coverage than latin-1, IIRC.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Installing packages from Wheezy in Squeeze

2012-05-01 Thread David Sastre Medina
On Tue, May 01, 2012 at 05:40:24PM +, James Allsopp wrote:
 Hello,
 Is there an easy way of installing a package (namely virtinst) from
 Wheezy in Squeeze? I've tried variations of
 aptitude install -t wheezy virtinst
 and
 aptitude install virtinst/wheezy
 
 but with no joy, It goes through the start process but says there's
 nothing to update or upgrade
 Thanks,
 James

You need to have some repo defined under /etc/apt/sources.list{,d/}
such as your query works.

I usually have the precompiled binaries in one repo and the sources 
in another, to ease backporting:

deb http://ftp.nl.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.nl.debian.org/debian/ sid main non-free contrib

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: [OT] Mails coming from joe1assis...@gmail.com

2012-05-01 Thread David Sastre Medina
On Tue, May 01, 2012 at 11:18:14AM +, Camaleón wrote:
 On Mon, 30 Apr 2012 23:17:46 +0100, Brian wrote:
  On Mon 30 Apr 2012 at 20:28:24 +, Camaleón wrote:
  On Mon, 30 Apr 2012 19:28:30 +0100, Brad Rogers wrote:
  
   Well, side-stepped, or buried, not really solved.   :-)
  Yup, but what could I do? The annoying posts are not reaching the list
  neither Gmane's archive so... what do you suggest? I'm all ears O:-)
  A first step is to determine where the mails originate from. It's the
  only data you have.
 E-mail headers say not much (see the link). At least seems to come from a 
 genuine Gmail account:
 
 http://pastebin.com/raw.php?i=Lz8eFuTe
 
 X-Mailer and Message-Id gives some clues about the origin but nothing 
 on why I/we get the posts :-?

I have received spam from that joe1 also.
I'm using the ML directly.
This was triggered answering to a post titled Installing packages
from Wheezy in Squeeze.

http://lists.debian.org/debian-user/2012/05/msg00067.html

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: [OT] Mails coming from joe1assis...@gmail.com

2012-05-01 Thread David Sastre Medina
On Tue, May 01, 2012 at 07:01:08PM +0100, Brian wrote:
 On Tue 01 May 2012 at 19:02:57 +0200, David Sastre Medina wrote:
 
  I have received spam from that joe1 also.
 
 You wouldn't happen to still have, would you?

You mean if I still have a copy of the mail?

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: [OT] Mails coming from joe1assis...@gmail.com

2012-05-01 Thread David Sastre Medina
On Tue, May 01, 2012 at 07:53:15PM +0100, Brian wrote:
 On Tue 01 May 2012 at 20:50:14 +0200, David Sastre Medina wrote:
 
  On Tue, May 01, 2012 at 07:01:08PM +0100, Brian wrote:
   On Tue 01 May 2012 at 19:02:57 +0200, David Sastre Medina wrote:
   
I have received spam from that joe1 also.
   
   You wouldn't happen to still have, would you?
  
  You mean if I still have a copy of the mail?
 
 Indeed I did. Leaving out 'it' was unintentional.

You'll have to excuse me, English is not my mother language, and I was
unsure of the exact meaning of the question.
Regarding the mail, I do have a copy, would you want me to send it to
you off-list?

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: [OT] Mails coming from joe1assis...@gmail.com

2012-05-01 Thread David Sastre Medina
On Tue, May 01, 2012 at 08:15:50PM +0100, Brian wrote:
 On Tue 01 May 2012 at 20:12:19 +0100, Brian wrote:
 
I cannot
  advise you how to get all the headers because I'm not familiar with all
  mail software.
 Of course I can! You are using mutt. Hit the 'h' key.

Here you have: (opening and closing ascii-scissors are mine)

88888888

Delivered-To: d.sastre.med...@gmail.com
Received: by 10.205.113.129 with SMTP id ew1csp101661bkc;
Tue, 1 May 2012 09:46:35 -0700 (PDT)
Received: by 10.52.38.167 with SMTP id h7mr18538279vdk.109.1335890794808;
Tue, 01 May 2012 09:46:34 -0700 (PDT)
Return-Path: joe1assis...@gmail.com
Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46])
by mx.google.com with ESMTPS id du4si12637407vdc.43.2012.05.01.09.46.34
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 01 May 2012 09:46:34 -0700 (PDT)
Received-SPF: pass (google.com: domain of joe1assis...@gmail.com designates 
209.85.212.46 as permitted sender) client-ip=209.85.212.46;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of 
joe1assis...@gmail.com designates 209.85.212.46 as permitted sender) 
smtp.mail=joe1assis...@gmail.com; dkim=pass
header.i=@gmail.com
Received: by mail-vb0-f46.google.com with SMTP id ff1so3736279vbb.5
for d.sastre.med...@gmail.com; Tue, 01 May 2012 09:46:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=date:from:reply-to:to:message-id:in-reply-to:subject:mime-version
:content-type:x-mailer;
bh=ySOv2yU/S0o0bxzbmTa+XQpbI74U1KRsZCnxfG+tz/4=;
b=PRnTJS6KBSRB4/SUNgp3ZWPXFIpugSlkCFIYcZKFPM5nKPLAQIuvLFPlOi9+Wsl0Q6
CwKA32jTUkwK7U/SXaH7bSgSW/1V8oRayml2++V/Ag/AC0EVowAX9XJs9O/FEDz0Y7Rg
Y9LHxRS0IUyHX02BinG1vl8D735vxnCHxDLr+WajliOLtdu/rjJvTGohiVE2WbRwVILJ
3K0pXJg/AssBhAkeW7ZDJYM6Qy2Vax0sc3t+oczVN9qmwXWHAP1S56q6U0xB9I133767
riuYc925mYoknmAyxCBuFxSwGIVRCqO/IOMUUwAv/4v5SC8mCRFag5bSLVGkwoX8p6AZ
BK/w==
Received: by 10.52.65.134 with SMTP id x6mr21545426vds.60.1335890794397;
Tue, 01 May 2012 09:46:34 -0700 (PDT)
Return-Path: joe1assis...@gmail.com
Received: from smtp.gmail.com (ec2-174-129-125-98.compute-1.amazonaws.com. 
[174.129.125.98])
by mx.google.com with ESMTPS id ic9sm32898578vdb.4.2012.05.01.09.46.33
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 01 May 2012 09:46:33 -0700 (PDT)
Date: Tue, 1 May 2012 16:46:33 +
From: Debian User List joe1assis...@gmail.com
Reply-To: Debian User List debian-user@lists.debian.org
To: d.sastre.med...@gmail.com
Message-Id: 4fa0135e49286_622ddc940c...@portal.joegiglio.org
In-Reply-To: 20120501164540.gb4...@pris.crapsteak.org
Subject: Re: Installing packages from Wheezy in Squeeze
Mime-Version: 1.0
Content-Type: multipart/alternative; 
boundary=mimepart_4fa0136992aa4_642bdc940c37b
X-Mailer: Assistly Support Platform

Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: Quoted-printable



__
Type your response ABOVE THIS LINE to reply



Re: Installing packages from Wheezy in Squeeze

1QA4xxx2a | May 01, 2012 04:46PM UTC

Thank you for submitting your request. We have received your request and are 
working on responding to you as soon as possible. If you have any additional 
information to add to this case, please
reply to this email.

Thanks in advance for your patience and support.


This message was sent to p...@pete.com in reference to Case #79988.



[[2ca59bf4b6e60bc00b948018424ef725855c532b-1713169]]

8888888


-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: using LVM on a cluster

2012-04-30 Thread David Sastre Medina
On Mon, Apr 30, 2012 at 02:20:31PM +0200, Frank Van Damme wrote:
 Hi.
 
 I am in the process of setting up a small 2-node HA cluster (for NFS,
 active/passive) with a shared disk for storage. Because Corosync and
 pacemaker look nice and good, I am trying to make it work with this
 combination instead of cman, which is what clvm is compiled for in Debian.
 
 There are a couple of howto's on the web on recompiling the lvm package
 with Openais or Corosync , so that's what I did. However, I'm still
 confused about the relationship between the cluster manager and the lock
 manager. If I understood right, this is the correct order in which
 things will be started:
 
 * start Corosync (or openais, if clvm is compiled with openais support
 instead)
 * you need to run some kind of resource manager
 * the resource manager (pacemaker) must have a resource defined that is
 the dlm controld - I tried starting dlm_controld at the command line,
 this seems to make clvm happy but unfortunately that command has no man
 page.
 * then, a bunch of files appear in /sys/kernel/config/dlm
 
 Actually, that controld should be started by the cluster resource
 manager is also something I just read on the web, and it sounds kinda
 odd to me. After all, you need to run an instance on every cluster node
 that accesses shared storage, right?
 
 
 [[I also tried the same thing but with a clvm compiled for openais, I
 read it uses another lock manager (Lck) but I'm not sure if and how
 this one is actually cluster-aware since it doesn't seem to rely on a
 resource defined in the cluster.]]
 
 [[Another thing that I find rather strange is that corosync is started
 wy at the end of the boot process, and clvm is started at the
 beginning, even if I changed the dependency of 'cman' to 'corosync' in
 clvm's init script. (clvm is started in rcS.d). But that's got more to
 do with lsb init scripting than with clustering, I suppose.]]
 
 
 If anyone could make me wiser or more educated about any of this, I'd be
 grateful :-)

Hello,

IIRC a distributed lock manager (DLM for short) is needed whenever an
active/active resource is used, e.g. a shared filesystem. OCFS2 and
GFS2 implement their own DLMs.
For an active/passive cluster, you'd need to define your resources and
a floating IP with stickyness WRT to those resources.
A DRBD in master/slave would be more appropriate IMHO.

Others might have other experiences/opinions or corrections.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Sudoers

2012-03-26 Thread David Sastre Medina
On Mon, Mar 26, 2012 at 09:39:44PM +0200, Antispammbox-debian wrote:
 I've added myself to the group sudo:
 sudo adduser myself

This is wrong. You need to

# adduser $USER $GROUP

From man adduser :

 adduser [options] user group

 Add an existing user to an existing group
   If called with two non-option arguments, adduser will add an
   existing user to an existing group.

-- 
Primary key fingerprint: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: linux-headers with GCC 4.6 when

2011-11-05 Thread David Sastre
On Sat, Nov 05, 2011 at 01:39:17PM +0100, Artifex Maximus wrote:
 Hello!
 
 I have installed virtualbox-ose and virtualbox-ose-dkms. DKMS needs
 linux-headers which depends on gcc-4.5 even I have an already
 installed gcc and gcc-4.6. Is it intentional or not? Is gcc 4.6 cannot
 compile kernel? I have enough disk space yet but gcc twice is
 unnecessary and I just wondering.

The modules built by dkms must match the gcc version used to compile
the kernel. Install gcc-4.5 and add it to the alternatives system to
select which to use, or export CC for manual compilations.

From my POV, it's not unnecessary to have different versions of some
software (gcc, perl java,...).

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Does anyone know how to Compile Mythtv 0.23.1 on current testing with qt 4.7

2011-10-16 Thread David Sastre
On Sun, Oct 16, 2011 at 08:50:41AM -0400, S Scharf wrote:
 I recently upgraded my desktop hardware and installed the current testing
 distribution, but by
 myth backend server is still running old-stable. The last debian-multimedia
 release of myth for
 old-stable was 0.23.1 which is incompatible with running the available 0.24
 front end on testing.
 
 I have tried to compile the myth source of 0.23.1 on testing, but it fails
 due to changes in the
 QT library. (Problems with overloaded functions and templates). Does anyone
 know how to
 patch 0.23.1 so it will compile on the current testing (with the current qt
 4.7 release)?
 
 Thanks
 Stuart

Just use debian multimedia:

deb ftp://ftp.debian-multimedia.org squeeze main

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: how to optimize apache for better performance...

2011-10-14 Thread David Sastre
On Mon, Oct 03, 2011 at 09:03:53AM -0400, Joey L wrote:
 Besides loading what modules are need for apache, is there any performance
 tooling that i can use to better optimize apache on debian ??

It depends on the usage of the server, wether it runs non-threaded or
multi-threaded, uses encryption, proxies requests to backend servers,
serves static data, ...

I've always found the online docs very useful¹.

¹https://httpd.apache.org/docs/2.2
-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: debug apache-php dump

2011-10-14 Thread David Sastre
On Tue, Oct 04, 2011 at 09:36:59AM -0300, Roberto Scattini wrote:
 hi list,
 
 i want to know how can i bind php symbols to apache in order to debug an
 apache2 coredump file.
 
 i upgraded my system to debian squeeze, and suddenly my web application
 started to generate segmentation faults randomly.
 it is a standard package installation, apache2, php5 and
 libapache2-mod-php5. i also
 installed apache2-dbg, libapr1-dbg, libaprutil1-dbg and php5-dbg.
 
 i generated an apache coredump file, but when i open dump file with gdb the
 only i get is this:
 
 # gdb /usr/sbin/apache2 /var/cache/apache2/core
 GNU gdb (GDB) 7.0.1-debian
 Copyright (C) 2009 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
 
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type show copying
 and show warranty for details.
 This GDB was configured as i486-linux-gnu.
 For bug reporting instructions, please see:
 http://www.gnu.org/software/gdb/bugs/...
 
 warning: The current binary is a PIE (Position Independent Executable),
 which
 GDB does NOT currently support.  Most debugger features will fail if used
 in this session.
 
 Reading symbols from /usr/sbin/apache2...Reading symbols from
 /usr/lib/debug/usr/sbin/apache2-mpm-prefork...done.
 (no debugging symbols found)...done.

You need apache2-dbg. Also, check this bugreport¹.

¹http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346409

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Moving to Debian server. (Re)Visiting the Postfix or Exim decision. Asking for Debian-ites' opinions.

2011-09-17 Thread David Sastre
Depending on your needs, you might find worth knowing that, as noted in 
/usr/share/doc/exim4-base/README.Debian.gz included in exim4-base 
4.72-6+squeeze2:

4.5. SELinux

   There is no SELinux policy for Exim4 available so far. Until this is
   resolved, users should use postfix or sendmail if they intend to run
   SELinux.

   The Debian Exim4 maintainers would appreciate if somebody could write
   an SELinux policy. We will gladly use them in the Debian packages as
   long as there is somebody available to test, debug and support.

Searching around, however, there seems to be some resources available¹

¹http://marc.info/?l=selinuxm=119765898413497w=2

Disclaimer: I'm not a SeLinux expert of any kind, not even close.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: iceweasel and gmail

2011-09-09 Thread David Sastre
On Fri, Sep 09, 2011 at 10:21:20PM +1000, Rob Hurle wrote:
 Question is: how can we upgrade to Iceweasel 3.6+ if we want to?

You'll find detailed instructions here¹.

¹http://mozilla.debian.net/

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: kvm

2011-07-04 Thread David Sastre
On Sun, Jul 03, 2011 at 08:08:50PM -0700, Khosrow Hassani wrote:
 Hi,
 I am running kvm 0.12.5 from Squeeze. the problem I am having is that kvm 
 -hda 
 disk1.img -hdb disk2.img doesn't give me 2 drives in my Windows xp inside 
 kvm, 
 even when I run it as root. only the first disk where windows is installed 
 shows up!  
 I created the other image using kvm-img with qcow2 format. Also, the -usb 
 works 
 only for root but not for normal user! when I run it as normal user I get 
 permission error.
 
 any idea?
 thanks, Khosrow

Maybe using libvirt, virt-install, virsh and friends would made easier
for you to admin storage and users.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Services Monitoring

2011-06-08 Thread David Sastre
On Wed, Jun 08, 2011 at 02:41:46PM +0430, Yashar Amirabedin wrote:
 How can I monitor the services that have been installed on the Debian 6?
 I mean, I have got a SolarWinds Orion server to monitor all node and
 services in my network.
 So, I would like to monitor the services on the debian servers.
 (e.g. Database, Web, etc)

I guess that SolarWinds thingy runs from a windows box, so if it can read SNMP, 
that would be the way.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Bug in bash? different from ksh, at any rate...

2011-05-28 Thread David Sastre
On Sat, May 28, 2011 at 01:14:42AM -0700, Rick Thomas wrote:
 
 Can anybody explain this difference between the behavior of bash and
 ksh?
 
 When reading the man page, I would expect both of them to have the
 behavior exhibited by ksh.
 Why does bash seem to treat return like a single level break in
 this context?
 
 The echo $AA | while read is important context.  If I change it
 to for i in 0 1, return does as expected.
 
 If it's any help, changing return to break 2 doesn't help.  with
 bash, it still gives 1 1 1 1
 while ksh still gives 1
 
 I wonder if it has anything to do with while read causing a
 subshell to be created, and bash getting confused about the return
 inside of a subshell.  If so, it's a bug in bash that ksh gets
 right, so it ought to be fixable.

I can't reproduce it:

$ cat strange.sh
function strange {
for j in 0 1 2 3
do
AA=' 1
2'
echo $AA | while read i
do
echo $i
return
done
done
}
echo $(strange)

$ bash ./strange.sh
1 1 1 1

$ ksh ./strange.sh
1 1 1 1

ii  bash  4.1-3 The GNU Bourne Again SHell
ii  mksh  39.3.20100725-1   MirBSD Korn Shell

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: [OT] Replies from DebianHELP ¿?

2011-05-27 Thread David Sastre
On Fri, May 27, 2011 at 03:10:43PM +, Camaleón wrote:
 Hello,
 
 For each reply I send to the list (or at least for the ones I made to 
 lina), I'm getting these messages:
 
 ***
 Date: Fri, 27 May 2011 10:54:17 -0400 (EDT)
 From: webmas...@debianhelp.org
 To: noela...@gmail.com
 Subject: Email submission to debianHELP failed - Re: IndexError: list 
 index out of range
 X-Mailer: Drupal
 
 Sorry, your comment experienced an error and was not posted. Possible
 reasons are that you have insufficient permission to post comments or the
 node is no longer open for comments.
 
 You sent:
 
 (...)
 ***
 
 Anyone else? 
 
 If it's just me, I can contact the mailing list maintainers.

Let's try...

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Kerberos conundrum in CUPS.

2011-05-23 Thread David Sastre
On Mon, May 23, 2011 at 11:25:41AM -0800, peasth...@shaw.ca wrote:
 Folk,
 
 This conundrum is in CUPS in Squeeze with LXDE.  The server 
 is only my server at home used by me.  
  
 Until this weekend, an attempt at an administrative task by a user 
 on the Web interface would get a dialogue window.  After authentication 
 as root, the task could be completed.
 
 Now such an attempt gets this message.
 401 Unauthorized
 
 Enter your username and password or the root username and 
 password to access this page. If you are using Kerberos 
 authentication, make sure you have a valid Kerberos ticket.
 
 Given the absence of any dialogue for authentication, the message 
 implies that Kerberos is present.  But aptitude doesn't show any 
 package with kerberos in the name as being installed.

FWIW, kerberos packages are named krb5* (apt-cache search krb5)

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


How to properly proxy an OID in snmpd.conf

2011-05-22 Thread David Sastre
Hello,

I want to monitor a JVM server using SNMP, so I have added the
following opts to the JVM:

JAVA_OPTS=${JAVA_OPTS} -Dcom.sun.management.snmp.interface=164.0.0.5
-Dcom.sun.management.snmp.port=1161
-Dcom.sun.management.snmp.acl=false

And I've tested it, e.g:

# snmpget -v2c -c public 164.0.0.5:1161 jvmOSName.0
JVM-MANAGEMENT-MIB::jvmOSName.0 = STRING: Linux

or the equivalent:

# snmpget -v2c -c public 164.0.0.5:1161 .1.3.6.1.4.1.42.2.145.3.163.1.1.6.1.0
JVM-MANAGEMENT-MIB::jvmOSName.0 = STRING: Linux

The main snmpd is using the same IP:

# netstat -anup | grep 161
udp0  0 164.0.0.5:161   0.0.0.0:*   30851/snmpd
udp0  0 127.0.0.1:161   0.0.0.0:*   30851/snmpd
udp6   0  0 164.0.0.5:1161  :::*8165/java

I need to proxy the JVM specific OID in the snmpd.conf file, so following
the advice in snmpd.examples I'm using:

proxy -v2c -c public udp:164.0.0.5:1161 .1.3.6.1.4.1.42.2.145.3.163.1.1

However, it's not working:

# snmpget -v2c -c public 164.0.0.5 .1.3.6.1.4.1.42.2.145.3.163.1.1.6.1.0
JVM-MANAGEMENT-MIB::jvmOSName.0 = No Such Object available on this agent at 
this OID

What am I doing wrong?

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Playing with apt-listchanges

2011-05-22 Thread David Sastre
On Sun, May 22, 2011 at 01:13:09PM +, Camaleón wrote:
 Hello,

Hi,

 I would like to configure apt-listchanges in a more convenient manner 
 that is currently now setup.
 
 1/ Is it possible to tell it to do not display the messages when 
 performing the update? I know those messages are important but I would 
 prefer to read them later, when I have enough time and not in the middle 
 of an update where connection can be suddenly dropped or something can 
 happen.
 
 I'm using apt to update wheezy.
 
 2/ In connection with the above, is there any way to tell apt-listchanges 
 something like: hey, I want to read all of the last 50 messages without 
 needing to pass the exact parameters to extract the information of each 
 package?

I guess you can configure apt-listchanges for another frontend (mail)
in /etc/apt/apt.conf.d/20listchanges to solve both problems.

HTH

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: How to properly proxy an OID in snmpd.conf

2011-05-22 Thread David Sastre
I managed to solve this. It was a problem with permissions, not with
the proxy definition. Checking com2sec/group/view/access items did it.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: wget certificates

2011-05-19 Thread David Sastre
On Thu, May 19, 2011 at 07:27:34AM +0200, Kamil Jońca wrote:
 
 I have strange problem with wget:
 $wget -e background = off -v -x 
 'https://www.centrum24.pl/bzwbkonline/eSmart.html?typ=90lang=pl'
 
 --8---cut here---start-8---
 --2011-05-19 07:26:00--  
 https://www.centrum24.pl/bzwbkonline/eSmart.html?typ=90lang=pl
 Resolving www.centrum24.pl... 195.20.110.130
 Connecting to www.centrum24.pl|195.20.110.130|:443... connected.
 ERROR: cannot verify www.centrum24.pl's certificate, issued by 
 `/C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at 
 https://www.verisign.com/rpa (c)06/CN=VeriSign Class 3 Extended Validation 
 SSL SGC CA':
   Unable to locally verify the issuer's authority.
 To connect to www.centrum24.pl insecurely, use `--no-check-certificate'.
 --8---cut here---end---8---
 
 Connecting with iceweasel seems ok? 
 What is wrong, what to check?
 KJ

Check that your version supports https. It should be listed in the
output of 'wget -V'. wget-1.12-2.1 from the squeeze repos supports it.

I have tried that URL without problem:

$ LANG=C; wget -e background = off -v -x 
'https://www.centrum24.pl/bzwbkonline/eSmart.html?typ=90lang=pl'
--2011-05-19 11:29:20--  
https://www.centrum24.pl/bzwbkonline/eSmart.html?typ=90lang=pl
Resolving www.centrum24.pl... 195.20.110.130
Connecting to www.centrum24.pl|195.20.110.130|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `www.centrum24.pl/bzwbkonline/eSmart.html?typ=90lang=pl'

[ =   ] 29,601  --.-K/s   in 0.1s

2011-05-19 11:29:20 (275 KB/s) - 
`www.centrum24.pl/bzwbkonline/eSmart.html?typ=90lang=pl' saved [29601]

Not knowing the contents of your .wgetrc (if any), I'd check ca_certificate and 
ca_directory.
Failing that, try adding --no-check-certificate.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Laptop tuning

2011-05-18 Thread David Sastre
On Tue, May 17, 2011 at 05:17:34PM -0300, Marcelo Laia wrote:
 Hi,
 
 What packages you could suggest me to tuning the my wife's newest laptop?
 
 She looking for usability and look. We use Debian from Potato (me)
 and from Woody (she and my sons).
 
 We use gnome!

You give very little information on your hardware or software.
First, consider updating to current stable, you need security updates
and bugfixes.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: Cambiar punto de montura de directorios

2011-05-16 Thread David Sastre
On Mon, May 16, 2011 at 12:53:31AM -0300, Pablo Gonzalez wrote:
 La consulta es la siguiente. Tengo que mover a otro disco las particiones 
 /var /opt y /usr porque me estoy por quedar corto de espacio en un equipo 
 de desarrollo. Ahora aquí la consulta, ya que nunca lo he realizado, es 
 correcto el proceso si copio el contenido y modifico la partición en donde 
 estarán montados en el fstab por la nueva ubicación?
 
 No estoy seguro si esto es lo que debo hacer o si debo utilizar otro 
 método, agradecería mucho si alguien me puede guiar en este tema.

Hola Pablo,

Has escrito a una lista de Debian en inglés, seguro que en la lista en
español encuentras mejor soporte, o bien si escribes a esta lista en
inglés.

En tu caso, lo que haría sería arrancar la máquina con los nuevos
discos ya montados físicamente, usando un live CD tipo RescueCD,
Knoppix o cualquier otro con el que te manejes cómodamente.
De esa manera podrás montar el/los discos antiguos en puntos de
montaje temporales (por ejemplo /mnt/viejo/var, /mnt/viejo/opt,
etc...)

Después, con el nuevo disco ya particionado, puedes montarlo en
/mnt/nuevo/var, /mnt/nuevo/opt, ...)

Por último, copiar los datos de /mnt/viejo/opt a /mnt/nuevo/opt,
etc...

Corrige /etc/fstab para que refleje los cambios, no olvides
referenciar los discos nuevos por uuid.

Como consejo, si no usas LVM2, échale un vistazo, te servirá para
manejar el espacio de tus discos de una forma más flexible.

Un saludo.

-- 
Huella de clave primaria: AD8F BDC0 5A2C FD5F A179  60E7 F79B AB04 5299 EC56


signature.asc
Description: Digital signature


Re: 2.6.38 kernel offered this morning, but not this afternoon?

2011-04-12 Thread David Sastre
On Mon, Apr 11, 2011 at 06:20:33PM -0400, Gilbert Sullivan wrote:
 I upgraded my own two Wheezy systems this morning and got the new
 kernel. It fixed the invisible pointer issue I was having with the
 system that had integrated Intel graphics.
 
 I got around to trying to upgrade my wife's two Wheezy systems this
 afternoon, but the new kernel isn't being listed as available. It's
 odd, because the old one (2.6.32) is now listed by aptitude as
 obsolete.
 
 Does anyone know what gives?

FWIW:

http://packages.debian.org/search?keywords=linux-image-2.6.38searchon=namessuite=testingsection=all

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: CD burning programs with verification

2011-04-09 Thread David Sastre
On Sat, Apr 09, 2011 at 11:15:16AM -0500, Jason Hsu wrote:
 I'm looking for a program in the Debian repository that offers verification 
 but with few dependencies.  I use my own antiX-derived distro called Swift 
 Linux (www.swiftlinux.org) as my main distro, but I dual boot with Puppy 
 Linux.  Puppy Linux comes standard with iso2cd and PBurn, but those 
 applications are specific to Puppy Linux.
 
 I don't like the GnomeBaker program that comes standard in antiX Linux and 
 need a replacement.  GnomeBaker doesn't offer a verification feature.I 
 know that XFCE and KDE have their own CD burning programs, but those programs 
 have lots of dependencies.
 
 So what CD burning programs do you like that have verification and do NOT 
 have lots of dependencies (like the XFCE and KDE tools)?

wodim + sha256sum

:)

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: Ayuda para instalar debian

2011-04-09 Thread David Sastre
On Sat, Apr 09, 2011 at 11:24:17AM -0600, Jacqueline Cruz wrote:
 Hola comunidad, qieria pedirles ayuda par ver como puedo istalar debian, lo
 q pasa es q la primera vez intente bajar un archivo para quemarlo y lo pase
 a un cd, pero durant ela istalacion encontre un errorq uno de los archivos
 estaba corrupted y yo :S busq en algunos foros el error y lei que era por
 la velocidad  a la que se habia quemado el disco , luego intente bajar la
 imagen para q lo pudiera instalarlo desde el usb, cambie el boot order par
 aq la usb fuera la primera opcion, y tenia los archivos en la usb pero no
 booteaba. luego trate de instalarle un pendrive , un universal usb
 installer1.8.3.9 , pero cuando trato de seleccionar el archivo no me aparece
 ningun archivo.q sea .iso .PEro ahi las tengo en la misma memoria.
 asi que no he podido bootear desde la usb
 
 Algun comentario?

Hola, 

Mejor escribe a debian-users-spanish.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Kernel configuration option processor family for core i5

2011-04-06 Thread David Sastre
Hello,

I'm trying to compile a 2.6.38 kernel and I'd like to know what would
be the best choice in processor family for an intel core i5.
FWIW, linux-image-2.6.32-5 brings CONFIG_M686=y as default.
I'm just wondering if there would be a better suited option for this
cpu.

TIA.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Kernel trace, how to debug?

2011-04-03 Thread David Sastre
Hello,

I got a kernel trace related to some I/O error.
I'd like to debug it further, but don't not how to proceed.
I have some basic gdb skills, but the pkg involved is the kernel, so
I can't just run 'gdb executable trace'...

The trace looks like this:

2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554092] [ cut 
here ]
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554096] WARNING: at 
/build/buildd-linux-2.6_2.6.32-30-i386-UYhWt7/linux-2.6-2.6.32/debian/build/source_i386_none/fs/buffer.c:1160
 mark_buffer_dirty+0x20/0x7a()
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554098] Hardware name: 
P55-US3L
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554099] Modules linked in: 
tun ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables dahdi_echocan_oslec 
echo wcfxo dahdi crc_ccitt ppdev lp kvm_intel kvm binfmt_misc fuse bridge stp 
loop saa7134_alsa tda10048 saa7134_dvb videobuf_dvb dvb_core 
snd_hda_codec_atihdmi snd_hda_codec_realtek tda18271 tda8290 joydev tuner 
usbhid hid snd_hda_intel saa7134 sg snd_hda_codec ir_common sr_mod v4l2_common 
videodev snd_hwdep snd_pcm_oss v4l1_compat videobuf_dma_sg snd_seq_midi 
snd_mixer_oss videobuf_core snd_rawmidi snd_pcm r8169 snd_seq_midi_event cdrom 
usb_storage snd_seq ata_generic uhci_hcd snd_timer ehci_hcd mii tulip tveeprom 
ata_piix usbcore snd_seq_device ahci fglrx(P) snd serio_raw pata_jmicron 
soundcore snd_page_alloc nls_base pcspkr i2c_i801 i2c_core evdev processor 
button parport_pc parport ext3 jbd mbcache dm_mod raid1 md_mod sd_mod 
crc_t10dif sata_via libata scsi_mod thermal thermal_sys
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554140] Pid: 18351, comm: 
amarok Tainted: P   2.6.32-5-686-bigmem #1
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554142] Call Trace:
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554146]  [c103652d] ? 
warn_slowpath_common+0x5e/0x8a
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554148]  [c1036563] ? 
warn_slowpath_null+0xa/0xc
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554150]  [c10d5528] ? 
mark_buffer_dirty+0x20/0x7a
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554157]  [f8307fac] ? 
ext3_commit_super+0x40/0x56 [ext3]
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554162]  [f8309516] ? 
ext3_handle_error+0x6e/0x8e [ext3]
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554166]  [f83095df] ? 
ext3_error+0x3a/0x40 [ext3]
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554172]  [f8303401] ? 
ext3_free_branches+0xa3/0x1e9 [ext3]
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554178]  [f8303a33] ? 
ext3_truncate+0x4ec/0x70c [ext3]
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554182]  [f82c8a97] ? 
journal_stop+0x254/0x260 [jbd]
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554187]  [f83041b9] ? 
ext3_write_begin+0x1ac/0x1d2 [ext3]
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554191]  [c108e657] ? 
generic_file_buffered_write+0xd0/0x21d
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554194]  [c108eba1] ? 
__generic_file_aio_write+0x265/0x28d
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554197]  [c10c92d6] ? 
touch_atime+0x69/0xd9
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554199]  [c108ec1a] ? 
generic_file_aio_write+0x51/0x93
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554202]  [c10ba776] ? 
do_sync_write+0xc0/0x107
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554205]  [c10bd4eb] ? 
cp_new_stat64+0xf7/0x109
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554208]  [c104a322] ? 
autoremove_wake_function+0x0/0x2d
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554211]  [c10bda3f] ? 
sys_fstat64+0x1e/0x23
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554214]  [c1109ce8] ? 
security_file_permission+0xc/0xd
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554216]  [c10ba6b6] ? 
do_sync_write+0x0/0x107
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554217]  [c10bb0a2] ? 
vfs_write+0x7e/0xd6
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554219]  [c10bb192] ? 
sys_write+0x3c/0x63
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554222]  [c100813b] ? 
sysenter_do_call+0x12/0x28
2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554223] ---[ end trace 
20f4b55a0560b754 ]---

FWIW, I have dbg symbols installed for this kernel:

ii  linux-image-2.6.32-5-686-bigmem   2.6.32-30   Linux 
2.6.32 for PCs with 4GB+ RAM
ii  linux-image-2.6.32-5-686-bigmem-dbg   2.6.32-31   
Debugging infos for Linux 2.6.32-5-686-bigmem

Any pointers highly appreciated.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: Kernel trace, how to debug?

2011-04-03 Thread David Sastre
On Sun, Apr 03, 2011 at 07:20:08PM +0200, David Sastre wrote:
 Hello,
 
 I got a kernel trace related to some I/O error.
 I'd like to debug it further, but don't not how to proceed.
 I have some basic gdb skills, but the pkg involved is the kernel, so
 I can't just run 'gdb executable trace'...
 
 The trace looks like this:
 
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554092] [ cut 
 here ]
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554096] WARNING: at 
 /build/buildd-linux-2.6_2.6.32-30-i386-UYhWt7/linux-2.6-2.6.32/debian/build/source_i386_none/fs/buffer.c:1160
  mark_buffer_dirty+0x20/0x7a()
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554098] Hardware name: 
 P55-US3L
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554099] Modules linked in: 
 tun ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables 
 dahdi_echocan_oslec echo wcfxo dahdi crc_ccitt ppdev lp kvm_intel kvm 
 binfmt_misc fuse bridge stp loop saa7134_alsa tda10048 saa7134_dvb 
 videobuf_dvb dvb_core snd_hda_codec_atihdmi snd_hda_codec_realtek tda18271 
 tda8290 joydev tuner usbhid hid snd_hda_intel saa7134 sg snd_hda_codec 
 ir_common sr_mod v4l2_common videodev snd_hwdep snd_pcm_oss v4l1_compat 
 videobuf_dma_sg snd_seq_midi snd_mixer_oss videobuf_core snd_rawmidi snd_pcm 
 r8169 snd_seq_midi_event cdrom usb_storage snd_seq ata_generic uhci_hcd 
 snd_timer ehci_hcd mii tulip tveeprom ata_piix usbcore snd_seq_device ahci 
 fglrx(P) snd serio_raw pata_jmicron soundcore snd_page_alloc nls_base pcspkr 
 i2c_i801 i2c_core evdev processor button parport_pc parport ext3 jbd mbcache 
 dm_mod raid1 md_mod sd_mod crc_t10dif sata_via libata scsi_mod thermal 
 thermal_sys
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554140] Pid: 18351, comm: 
 amarok Tainted: P   2.6.32-5-686-bigmem #1
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554142] Call Trace:
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554146]  [c103652d] ? 
 warn_slowpath_common+0x5e/0x8a
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554148]  [c1036563] ? 
 warn_slowpath_null+0xa/0xc
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554150]  [c10d5528] ? 
 mark_buffer_dirty+0x20/0x7a
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554157]  [f8307fac] ? 
 ext3_commit_super+0x40/0x56 [ext3]
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554162]  [f8309516] ? 
 ext3_handle_error+0x6e/0x8e [ext3]
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554166]  [f83095df] ? 
 ext3_error+0x3a/0x40 [ext3]
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554172]  [f8303401] ? 
 ext3_free_branches+0xa3/0x1e9 [ext3]
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554178]  [f8303a33] ? 
 ext3_truncate+0x4ec/0x70c [ext3]
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554182]  [f82c8a97] ? 
 journal_stop+0x254/0x260 [jbd]
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554187]  [f83041b9] ? 
 ext3_write_begin+0x1ac/0x1d2 [ext3]
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554191]  [c108e657] ? 
 generic_file_buffered_write+0xd0/0x21d
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554194]  [c108eba1] ? 
 __generic_file_aio_write+0x265/0x28d
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554197]  [c10c92d6] ? 
 touch_atime+0x69/0xd9
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554199]  [c108ec1a] ? 
 generic_file_aio_write+0x51/0x93
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554202]  [c10ba776] ? 
 do_sync_write+0xc0/0x107
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554205]  [c10bd4eb] ? 
 cp_new_stat64+0xf7/0x109
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554208]  [c104a322] ? 
 autoremove_wake_function+0x0/0x2d
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554211]  [c10bda3f] ? 
 sys_fstat64+0x1e/0x23
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554214]  [c1109ce8] ? 
 security_file_permission+0xc/0xd
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554216]  [c10ba6b6] ? 
 do_sync_write+0x0/0x107
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554217]  [c10bb0a2] ? 
 vfs_write+0x7e/0xd6
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554219]  [c10bb192] ? 
 sys_write+0x3c/0x63
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554222]  [c100813b] ? 
 sysenter_do_call+0x12/0x28
 2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554223] ---[ end trace 
 20f4b55a0560b754 ]---
 
 FWIW, I have dbg symbols installed for this kernel:
 
 ii  linux-image-2.6.32-5-686-bigmem   2.6.32-30   
 Linux 2.6.32 for PCs with 4GB+ RAM
 ii  linux-image-2.6.32-5-686-bigmem-dbg   2.6.32-31   
 Debugging infos for Linux 2.6.32-5-686-bigmem
 
Can anybody tell me how to properly enable ddebug on a 2.6.32-5 kernel?

I've been able to find some info regarding 2.6.38¹, but that doesn't seem
to apply to 2.6.32, as there is no /sys/kernel/debug/dynamic_debug
directory after mounting the debufgs:

# mount -t debugfs none /sys/kernel

Re: Kernel trace, how to debug?

2011-04-03 Thread David Sastre
On Sun, Apr 03, 2011 at 08:41:51PM +0200, David Sastre wrote:
 On Sun, Apr 03, 2011 at 07:20:08PM +0200, David Sastre wrote:
  Hello,
  
  I got a kernel trace related to some I/O error.
  I'd like to debug it further, but don't not how to proceed.
  I have some basic gdb skills, but the pkg involved is the kernel, so
  I can't just run 'gdb executable trace'...
  
  The trace looks like this:
  
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554092] [ cut 
  here ]
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554096] WARNING: at 
  /build/buildd-linux-2.6_2.6.32-30-i386-UYhWt7/linux-2.6-2.6.32/debian/build/source_i386_none/fs/buffer.c:1160
   mark_buffer_dirty+0x20/0x7a()
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554098] Hardware name: 
  P55-US3L
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554099] Modules linked 
  in: tun ipt_REJECT xt_tcpudp iptable_filter ip_tables x_tables 
  dahdi_echocan_oslec echo wcfxo dahdi crc_ccitt ppdev lp kvm_intel kvm 
  binfmt_misc fuse bridge stp loop saa7134_alsa tda10048 saa7134_dvb 
  videobuf_dvb dvb_core snd_hda_codec_atihdmi snd_hda_codec_realtek tda18271 
  tda8290 joydev tuner usbhid hid snd_hda_intel saa7134 sg snd_hda_codec 
  ir_common sr_mod v4l2_common videodev snd_hwdep snd_pcm_oss v4l1_compat 
  videobuf_dma_sg snd_seq_midi snd_mixer_oss videobuf_core snd_rawmidi 
  snd_pcm r8169 snd_seq_midi_event cdrom usb_storage snd_seq ata_generic 
  uhci_hcd snd_timer ehci_hcd mii tulip tveeprom ata_piix usbcore 
  snd_seq_device ahci fglrx(P) snd serio_raw pata_jmicron soundcore 
  snd_page_alloc nls_base pcspkr i2c_i801 i2c_core evdev processor button 
  parport_pc parport ext3 jbd mbcache dm_mod raid1 md_mod sd_mod crc_t10dif 
  sata_via libata scsi_mod thermal thermal_sys
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554140] Pid: 18351, comm: 
  amarok Tainted: P   2.6.32-5-686-bigmem #1
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554142] Call Trace:
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554146]  [c103652d] ? 
  warn_slowpath_common+0x5e/0x8a
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554148]  [c1036563] ? 
  warn_slowpath_null+0xa/0xc
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554150]  [c10d5528] ? 
  mark_buffer_dirty+0x20/0x7a
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554157]  [f8307fac] ? 
  ext3_commit_super+0x40/0x56 [ext3]
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554162]  [f8309516] ? 
  ext3_handle_error+0x6e/0x8e [ext3]
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554166]  [f83095df] ? 
  ext3_error+0x3a/0x40 [ext3]
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554172]  [f8303401] ? 
  ext3_free_branches+0xa3/0x1e9 [ext3]
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554178]  [f8303a33] ? 
  ext3_truncate+0x4ec/0x70c [ext3]
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554182]  [f82c8a97] ? 
  journal_stop+0x254/0x260 [jbd]
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554187]  [f83041b9] ? 
  ext3_write_begin+0x1ac/0x1d2 [ext3]
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554191]  [c108e657] ? 
  generic_file_buffered_write+0xd0/0x21d
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554194]  [c108eba1] ? 
  __generic_file_aio_write+0x265/0x28d
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554197]  [c10c92d6] ? 
  touch_atime+0x69/0xd9
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554199]  [c108ec1a] ? 
  generic_file_aio_write+0x51/0x93
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554202]  [c10ba776] ? 
  do_sync_write+0xc0/0x107
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554205]  [c10bd4eb] ? 
  cp_new_stat64+0xf7/0x109
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554208]  [c104a322] ? 
  autoremove_wake_function+0x0/0x2d
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554211]  [c10bda3f] ? 
  sys_fstat64+0x1e/0x23
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554214]  [c1109ce8] ? 
  security_file_permission+0xc/0xd
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554216]  [c10ba6b6] ? 
  do_sync_write+0x0/0x107
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554217]  [c10bb0a2] ? 
  vfs_write+0x7e/0xd6
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554219]  [c10bb192] ? 
  sys_write+0x3c/0x63
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554222]  [c100813b] ? 
  sysenter_do_call+0x12/0x28
  2011-04-03T18:36:32+02:00 jethro kernel: : [24521.554223] ---[ end trace 
  20f4b55a0560b754 ]---
  
  FWIW, I have dbg symbols installed for this kernel:
  
  ii  linux-image-2.6.32-5-686-bigmem   2.6.32-30   
  Linux 2.6.32 for PCs with 4GB+ RAM
  ii  linux-image-2.6.32-5-686-bigmem-dbg   2.6.32-31   
  Debugging infos for Linux 2.6.32-5-686-bigmem
  
 Can anybody tell me how to properly enable ddebug on a 2.6.32-5 kernel?
 
 I've been able to find some info regarding 2.6.38

Re: Android Debian - Lets start Debian for Android hw phones

2011-03-22 Thread David Sastre
2011/3/22, Jon Dowland j...@debian.org:
 On Mon, Mar 21, 2011 at 03:08:48PM -0700, giovanni_re wrote:
 Debian distro for Android capable hardware phones

What about Maemo and MeeGo?
Those projects more than probably have done most of the work you'd
need to run Debian in a smartphone.


-- 
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/AANLkTi=4W=jnfhggckmqkog-ugdggxsqtpafhssqd...@mail.gmail.com



Re: Apache SSL named based virtual hosts

2011-01-24 Thread David Sastre
On Mon, Jan 24, 2011 at 01:23:35PM -0700, Bob Proulx wrote:
 In another thread:
 Boyd Stephen Smith Jr. wrote:
 Is there a way to have all of the browsers use starttls
 for https 
...
 and to be able to share virtual hosts with SSL on a single
 IP address?  That would be awesome!  Where can I read about it?  It is
 a feature that I have wanted for a very long time.

When I need to do this, mostly for testing purposes, I create another 
ssl-enabled vhost on a different port (same IP), and ensure the CN in
the server cert includes the port, IIRC, httpd didn't like not doing so.  
But this is not for named vhosting, but for IP-based vhosting.

HTH.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: need help making shell script use two CPUs/cores

2011-01-09 Thread David Sastre
On Sun, Jan 09, 2011 at 10:05:43AM -0600, Stan Hoeppner wrote:
 #! /bin/sh
 for k in $(ls *.JPG); do convert $k -resize 1024 $k; done
 
 I use the above script to batch re-size digital camera photos after I
 dump them to my web server.  It takes a very long time with lots of new
 photos as the server is fairly old, even though it is a 2-way SMP,
 because the script only runs one convert process at a time serially,
 only taking advantage of one CPU.  The convert program is part of the
 imagemagick toolkit.
 
 How can I best modify this script so that it splits the overall job in
 half, running two simultaneous convert processes, one on each CPU?
 Having such a script should cut the total run time in half, or nearly
 so, which would really be great.

You need parallel:

http://ftp.gnu.org/gnu/parallel/

From their home page (http://freshmeat.net/projects/parallel):

GNU parallel is a shell tool for executing jobs in parallel locally
or using remote computers. A job is typically a single command or
a small script that has to be run for each of the lines in the input.
The typical input is a list of files, a list of hosts, a list of
users, a list of URLs, or a list of tables. If you use xargs today you
will find GNU parallel very easy to use, as GNU parallel is written to
have the same options as xargs. If you write loops in shell, you will
find GNU parallel may be able to replace most of the loops and make
them run faster by running several jobs in parallel. If you use ppss
or pexec you will find GNU parallel will often make the command easier
to read. GNU parallel makes sure output from the commands is the same
output as you would get had you run the commands sequentially. This
makes it possible to use output from GNU parallel as input for other
programs.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: Where Is the List of Installed Packages?

2011-01-08 Thread David Sastre
On Sat, 08 Jan 2011 10:22:01 -0500, Hal Vaughan wrote:

 I can simply re-install Debian with no trouble, the only issue is that I
 don't have the up-to-date list of all the packages installed on the old
 PATA drive.  I can, though, plug it in and read it as a data drive.

 So where on that drive can I find the list of installed packages?

You could also mount that PATA drive externally and chroot into it to
request that (or any other) info: 

# dpkg -l  list.of.packages.txt

The result is a much smaller file:

# dpkg -l  list

# ll list
-rw-r--r-- 1 root root 297969 ene  8 18:39 list

# ll /var/lib/dpkg/status
-rw-r--r-- 1 root root 2094674 dic 23 20:57 /var/lib/dpkg/status

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: Not able to update using apt

2011-01-02 Thread David Sastre
On Sun, Jan 02, 2011 at 12:04:18AM +0100, Daniel Andersson wrote:
 On 01/01/2011 09:09 PM, David Sastre wrote:
 On Sat, Jan 01, 2011 at 08:14:08PM +0100, Daniel Andersson wrote:
 
 I just installed Debian Squeeze on a Eee PC. The installer
 downloaded all the packages during the install but when I want to
 install more packages at the prompt I only get:
 
 Could not resolve 'ftp.sunet.se'
 
 I'm able to ping ftp.sunet.se and the mirror is working on my other
 laptop. /etc/resolv.conf is updated correctly, I get an IP from my
 router. It does not help getting a new lease using dhclient.
 
 How does your /etc/apt/sources.list (or any files under
 /etc/apt/sources.list.d/) look like?
 
 deb http://ftp.sunet.se/pub/Linux/distributions/debian/ squeeze main
 deb-src http://ftp.sunet.se/pub/Linux/distributions/debian/ squeeze main

Can you try:

-another mirror
-apt-get/aptitude update
-apt-get/aptitude install some.package

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: Not able to update using apt

2011-01-01 Thread David Sastre
On Sat, Jan 01, 2011 at 08:14:08PM +0100, Daniel Andersson wrote:
 Hi
 
 I just installed Debian Squeeze on a Eee PC. The installer
 downloaded all the packages during the install but when I want to
 install more packages at the prompt I only get:
 
 Could not resolve 'ftp.sunet.se'
 
 I've only selected laptop and webserver with tasksel during installation.
 
 I'm able to ping ftp.sunet.se and the mirror is working on my other
 laptop. /etc/resolv.conf is updated correctly, I get an IP from my
 router. It does not help getting a new lease using dhclient.
 
 Any ideas?

Hello,

How does your /etc/apt/sources.list (or any files under
/etc/apt/sources.list.d/) look like?

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: How to install dpkg package in Cygwin OS on i686 computer

2010-12-07 Thread David Sastre
On Mon, Nov 22, 2010 at 10:24:23AM +, Camaleón wrote:
 On Mon, 22 Nov 2010 13:51:10 +0800, guojiang wu wrote:
 
  When I installed dpkg-1.14.29 in Cygwin system on an i686 computer, the
  following information was
  displayed:
  checking dpkg cpu type... i386
  configure: WARNING: I686 not found in cputable checking dpkg operating
  system type...  cygwin configure: WARNING: cygwin not found in ostable
   My installation is not successful.Could dpkg package be install in
   cygwin?
 
 Hmmm, maybe you get more responses in Cygwin mailing list :-?
 
 http://cygwin.com/ml/cygwin/
 
 It seems your win environment (cygwin) and your arch (I686) are not being 
 recognized by the package itself and quits. There are some tricks to 
 bypass this checking in a pure Debian installation but I'm not sure how 
 this will work under cygwin.

Actually, there is no dpkg package in the official cygwin repo, but
there is one in cygwinports¹ which is actively mantained.

¹http://sourceware.org/cygwinports/

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Checkinstall problem with conflicting file

2010-12-06 Thread David Sastre
Hello,

I'm finding this issue while trying to checkinstall a package:

(Reading database ... 204242 files and directories currently
installed.)
Unpacking vc-dwim (from .../vc-dwim/vc-dwim_1.3-1_i386.deb) ...
dpkg: error processing /srv/git/vc-dwim/vc-dwim_1.3-1_i386.deb
(--install):
 trying to overwrite '/usr/local/share/info/dir', which is also in
package ratpoison 1.4.6-GIT
Processing triggers for man-db ...
Errors were encountered while processing:
 /srv/git/vc-dwim/vc-dwim_1.3-1_i386.deb

The conflicting file was installed with checkinstall also.
Checkinstall should add vc-dwim's info/dir to that one, right?

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: please correct me on my code?

2010-12-04 Thread David Sastre
On Sat, Dec 04, 2010 at 10:01:35AM +0330, hadi motamedi wrote:
 Dear All
 On my Debian server, I need to separate the individual logs coming
 from various modules concurrently. Please find below a sample of the
 logs:
 ' IPTR ..
 
 Read Subscript: 153 Write Subscript: 154 Port: 4972
 Current time: Tue Nov 23 15:33:53 2010
 Sent packet to 172.18.99.1 4972 #0
 packet is 1081 bytes long, contains:
 30 82 04 35 02 01 01 04 06 70 75 62 6C 69 63 A7 82 04 26 02 01 01 02
 01 FF 02 0107 30 82 04 19 30 82 04 15 06 0F 2B 06 01 04 01 8A 5D 01 03
 03 04 02 07 AE 0B 0482 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  00 00 00 00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  00
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 00 00 00 00  00 00 00 00 00 00 00 00 00 00 00 00
 
 SNMP ..
 
 local:4972 == 172.18.99.1:4972 Type=Trap-V2, RID=136337360,
 Error=255, Bind=1
 oid[0]=1.3.6.1.4.1.1373.1.3.3.4.2.7.5899, vartype=04, msglen=1024
 
 local:4969 == 172.18.99.1:4969 Type=Trap-V2, RID=1, Error=80, Bind=1
 oid[0]=1.3.6.1.4.1.1373.1.3.3.8.2.7.779, vartype=04, msglen=1024
 
 HLR ..
 
 HLR recv - DELIM ind
 Dialogue id:1927'
 As you see, each log begins with its modules name that I need to
 separate its individual log. So I have wrote the following code to
 separate it:
 #cat Edit3 | tr -d \r | while read LINE; do
 echo $LINE | grep -q '\.\.'
 if [ $? -eq 0 ]; then
 LOGFILE=`echo $LINE | cut -d' ' -f1`.log
 else
 echo $LINE  $LOGFILE
 fi
 done
 But when I run it, I am receiving the following error:
 -bash: -f1.log : command not found
 -bash: $LOGFILE : ambiguous redirect
 Can you please help me to correct my code?
 Thank you

Hello, 

I gave it a try doing the following:

a) create a script:

$ cat test.sh
#!/bin/bash -
cat test.txt | tr -d \r | while read LINE; do
  echo $LINE | grep -q '\.\.'
  if [ $? -eq 0 ]; then
LOGFILE=`echo $LINE | cut -d' ' -f1`.log
  else
echo $LINE  $LOGFILE
  fi
done

b) this is the log sample:
$ cat test.txt
IPTR ..

Read Subscript: 153 Write Subscript: 154 Port: 4972
Current time: Tue Nov 23 15:33:53 2010
Sent packet to 172.18.99.1 4972 #0
packet is 1081 bytes long, contains:
30 82 04 35 02 01 01 04 06 70 75 62 6C 69 63 A7 82 04 26 02 01 01 02
01 FF 02 0107 30 82 04 19 30 82 04 15 06 0F 2B 06 01 04 01 8A 5D 01 03
03 04 02 07 AE 0B 0482 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00  00 00 00 00 00 00 00 00 00 00 00 00

SNMP ..

local:4972 == 172.18.99.1:4972 Type=Trap-V2, RID=136337360,
Error=255, Bind=1
oid[0]=1.3.6.1.4.1.1373.1.3.3.4.2.7.5899, vartype=04, msglen=1024

local:4969 == 172.18.99.1:4969 Type=Trap-V2, RID=1, Error=80, Bind=1
oid[0]=1.3.6.1.4.1.1373.1.3.3.8.2.7.779, vartype=04, msglen=1024

HLR ..

HLR recv - DELIM ind
Dialogue id:1927'

c) run the test and inspect the results:

$ ./test.sh; ls -lrt *.log
-rw--- 1 dawud dawud 293 dic  4 11:48 SNMP.log
-rw--- 1 dawud dawud 924 dic  4 11:48 IPTR.log
-rw--- 1 dawud dawud  41 dic  4 11:48 HLR.log

$ for a in *.log; do printf $a---\n; cat $a; done
HLR.log---

HLR recv - DELIM ind
Dialogue id:1927'
IPTR.log---

Read Subscript: 153 Write Subscript: 154 Port: 4972
Current time: Tue Nov 23 15:33:53 2010
Sent packet to 172.18.99.1 4972 #0
packet is 1081 bytes long, contains:
30 82 04 35 02 01 01 04 06 70 75 62 6C 69 63 A7 82 04 26 02 01 01 02
01 FF 02 0107 30 82 04 19 30 82 04 15 06 0F 2B 06 01 04 01 8A 5D 01 03
03 04 02 07 AE 0B 0482 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00  00 00 00 00 00 00 00 00 00 00 00 00

SNMP.log---

local:4972 == 172.18.99.1:4972 Type=Trap-V2, RID=136337360,
Error=255, Bind=1

Re: mod_mono

2010-11-14 Thread David Sastre
On Sun, Nov 14, 2010 at 10:44:39PM +1300, Fred Zinsli wrote:
 I installed mod_mono and was playing with the settings when I eventually
 ganked it completely and couldn't get it to work again. I was playing with
 the the config files.
 
 Anyways I decided in all my wisdom to remove (purge) mod_mono and
 reinstall it. However after the removal I decided (yet again in all my
 wisdom) to delete all the associated folders for mod_mono thinking I would
 be back to a fresh start.
 
 I then reinstalled mod_mono
 
 Now I get the following error.
 
 The assembly mscorlib.dll was not found or could not be loaded.
 It should have been installed in the `/usr/lib/mono/2.0/mscorlib.dll'
 directory.
 
 I have searched for the file mentioned, and guess what, it isn't anywhere
 (no surprise to some of you).
 
 I have googled and have tried everything I can to fix this.
 
 I would really appreciate it if someone would be so kind as to not only
 tell me what an idiot I was and I shouldn't play with things I don't know
 about, but to also point me to some information that may help me to
 resolve this problem I created.
 
 System=lenny
 Install=apt-get install mono-xsp2 mono-apache-server2 libapache2-mod-mono
 mono-gmcs mono-utils

Try to aptitude reinstall libmono-corlib2.0-cil¹.

http://packages.debian.org/search?searchon=contentskeywords=mscorlib.dllmode=pathsuite=stablearch=any

HTH.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: Java Run Time Detection

2010-11-14 Thread David Sastre
On Sun, Nov 14, 2010 at 11:13:15AM +, Alan Chandler wrote:
 It seems strange to ask this now, at the end of the season, but my
 wife has suddenly needs use of my windows machine which I previously
 used for this purpose.
 
 This url points to the live timing of Formula 1 races
 
 http://www.formula1.com/live_timing/live_timing.html
 
 It uses a Java plugin to provide the timing screen.
 
 When I go there with Linux/Iceweasel it tells me it needs to install
 the java plugin - but then fails to install it.   I am not sure what
 the issue is - java is installed on my machine.  Is there a separate
 plugin to link to that command line runtime?
 
 Is this a problem with the site, with Iceweasel or what?

WFFM. Tested in Squeeze, Iceweasel 3.5.15 and flashplugin-nonfree
installed.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: Making /tmp noexec

2010-11-12 Thread David Sastre
On Fri, Nov 12, 2010 at 01:30:49PM +, James Allsopp wrote:
 Hi,
 I was reading this page about making tmp non-executable
 (http://pario.no/2007/10/04/making-tmp-non-executable/) but it seems a
 little out of date as I'm using Squeeze.
 
 I changed fstab, and edited by 70debconf to
 
 DPkg::Pre-Install-Pkgs {mount -o remount,exec
 /tmp;/usr/sbin/dpkg-preconfigure --apt || true;};
 DPkg::Post-Invoke{mount -o remount /tmp;};
 
 is this correct? Aptitude still works fine, but I was wondering if
 anyone had experience of pitfalls with this?
 
 Would I replicate this for my /var partition and is there any point to
 doing this with /home?

I use almost the same configuration:

# cat /etc/apt/apt.conf.d/20tmpperms
DPkg::Pre-Invoke{mount -o remount,exec /tmp;};
DPkg::Post-Invoke {mount -o remount /tmp;};

And my fstab looks like this:

# grep tmp /etc/fstab
/dev/mapper/root_vg-tmp_lv /tmp ext3 defaults,noexec,nosuid 0 2

It works OK. Regarding var, I wouldn't do it. Some files need execute
permissions. Others might have another opinion, though.
And /home, well, some of us like to have /home/${USER}/.dist/bin or
something similar in our ${PATHS}, so it depends on your setup.

HTH.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: Como configurar Samba

2010-11-02 Thread David Sastre
On Tue, Nov 02, 2010 at 02:39:37PM -0400, joel wrote:
 Amigos,
 
 Quiero configurar Samba como controlador primario y solo tengo
 manuales de Ret Hat con los cuales no he podido configurarlo
 adecuadamente, si alguien tiene este manual para deb por favor una
 auditas no me caidria mal

Hola,

Puedes instalar samba-doc-pdf:

$ apt-cache show samba-doc-pdf
Package: samba-doc-pdf
Priority: optional
Section: doc
Installed-Size: 7036
Maintainer: Debian Samba Maintainers
pkg-samba-ma...@lists.alioth.debian.org
Architecture: all
Source: samba
Version: 2:3.5.6~dfsg-1
Filename: pool/main/s/samba/samba-doc-pdf_3.5.6~dfsg-1_all.deb
Size: 7107226
MD5sum: 8073f7b92ccaabdce6f8a4f2c13cdbed
SHA1: 8ca8655d3a6451f387e0df7d89bfa67cee3c9f79
SHA256:
354106b7590aa9c240848c7554fb3c11a7caea084ad4665f62c839b0fadc3f0b
Description: Samba documentation in PDF format
Samba is an implementation of the SMB/CIFS protocol for Unix systems,
providing support for cross-platform file and printer sharing with
Microsoft Windows, OS X, and other Unix systems.
.
This package contains all the PDF documentation for the Samba
suite.
Homepage: http://www.samba.org
Tag: devel::examples, made-of::pdf, network::service,
protocol::smb, role::documentation, suite::samba

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


I/O error and kernel trace on USB disk with LVM

2010-10-31 Thread David Sastre
Hello,

I have a LaCIe external storage (2TB) attached to a Gigabyte P55-US3L
running Linux jethro 2.6.32-5-686-bigmem #1 SMP Tue Oct 19 15:03:03
UTC 2010 running Linux jethro 2.6.32-5-686-bigmem #1 SMP Tue Oct 19
15:03:03 UTC 2010. It is formated to allocate two LVs over one VG.

Sometimes, when there is an stressing I/O operation runnig, the USB
disk resets and any further operation fails. I ran into this today, as
an example, when I tried to convert several *.ape files to *.flac
format.

# touch /media/audio/d/test
touch: no se puede efectuar `touch' sobre «/media/audio/d/test»:
Sistema de ficheros de sólo lectura

# mount | grep audio
/dev/mapper/lacie_vg-audio_lv on /media/audio type ext3 (rw,noexec)

# touch /media/video/test
touch: no se puede efectuar `touch' sobre «/media/video/test»: Error de 
entrada/salida

# mount | grep video
/dev/mapper/lacie_vg-video_lv on /media/video type ext3 (rw,noexec)

I had been experiencing this problem for some time, but disabling
nepomuk scannig over the entire LVs seemed to had solved the issue.
Not quite.

I also have this kernel trace in /var/log/messages:

Oct 31 15:18:45 jethro kernel: [17077.230311] usb 1-3: reset high speed USB 
device using ehci_hcd and address 3
Oct 31 16:08:31 jethro kernel: [20061.091370] usb 1-3: USB disconnect, address 3
Oct 31 16:08:31 jethro kernel: [20061.091410] sd 12:0:0:0: Device offlined - 
not ready after error recovery
Oct 31 16:08:31 jethro kernel: [20061.091416] sd 12:0:0:0: [sdg] Unhandled 
error code
Oct 31 16:08:31 jethro kernel: [20061.091418] sd 12:0:0:0: [sdg] Result: 
hostbyte=DID_ABORT driverbyte=DRIVER_OK
Oct 31 16:08:31 jethro kernel: [20061.091420] sd 12:0:0:0: [sdg] CDB: Read(10): 
28 00 12 7f 2c 70 00 00 f0 00
Oct 31 16:08:31 jethro kernel: [20061.091464] sd 12:0:0:0: [sdg] Unhandled 
error code
Oct 31 16:08:31 jethro kernel: [20061.091465] sd 12:0:0:0: [sdg] Result: 
hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Oct 31 16:08:31 jethro kernel: [20061.091467] sd 12:0:0:0: [sdg] CDB: Read(10): 
28 00 12 7f 2d 60 00 00 10 00
Oct 31 16:08:31 jethro kernel: [20061.091502] lost page write due to I/O error 
on dm-2
Oct 31 16:08:31 jethro kernel: [20061.091518] lost page write due to I/O error 
on dm-2
Oct 31 16:08:31 jethro kernel: [20061.091532] lost page write due to I/O error 
on dm-2
Oct 31 16:08:31 jethro kernel: [20061.091550] lost page write due to I/O error 
on dm-2
Oct 31 16:08:31 jethro kernel: [20061.091564] lost page write due to I/O error 
on dm-2
Oct 31 16:08:31 jethro kernel: [20061.091578] lost page write due to I/O error 
on dm-2
Oct 31 16:08:31 jethro kernel: [20061.091593] lost page write due to I/O error 
on dm-2
Oct 31 16:08:31 jethro kernel: [20061.091606] lost page write due to I/O error 
on dm-2
Oct 31 16:08:31 jethro kernel: [20061.091620] lost page write due to I/O error 
on dm-2
Oct 31 16:08:31 jethro kernel: [20061.091634] lost page write due to I/O error 
on dm-2
Oct 31 16:08:31 jethro kernel: [20061.095745] [ cut here 
]
Oct 31 16:08:31 jethro kernel: [20061.095750] WARNING: at 
/tmp/buildd/linux-2.6-2.6.32/debian/build/source_i386_none/fs/buffer.c:1160 
mark_buffer_dirty+0x20/0x7a()
Oct 31 16:08:31 jethro kernel: [20061.095752] Hardware name: P55-US3L
Oct 31 16:08:31 jethro kernel: [20061.095753] Modules linked in: tun ipt_REJECT 
xt_tcpudp iptable_filter ip_tables x_tables ppdev lp dahdi_echocan_oslec echo 
wcfxo dahdi crc_ccitt kvm_intel kvm binfmt_misc fuse bridge stp loop 
saa7134_alsa tda10048 saa7134_dvb videobuf_dvb dvb_core snd_hda_codec_atihdmi 
snd_hda_codec_realtek tda18271 tda8290 tuner usbhid hid saa7134 snd_hda_intel 
ir_common snd_hda_codec v4l2_common videodev v4l1compat snd_hwdep snd_seq_midi 
r8169 snd_pcm_oss sg snd_rawmidi snd_mixer_oss snd_seq_midi_event 
videobuf_dma_sg sr_mod snd_seq i2c_i801 snd_pcm cdrom usb_storage 
snd_seq_device videobuf_core snd_timer tveeprom uhci_hcd ehci_hcd usbcore 
pcspkr evdev i2c_core ata_generic snd soundcore par port_pc parport ata_piix 
pata_jmicron tulip mii serio_raw ahci nls_base processor button snd_page_alloc 
fglrx(P) ext3 jbd mbcache dm_mod raid1 md_mod sd_mod crc_t10dif sata_via libata 
scsi_mod thermal thermal_sys
Oct 31 16:08:31 jethro kernel: [20061.095802] Pid: 17325, comm: ffmpeg Tainted: 
P   2.6.32-5-686-bigmem #1
Oct 31 16:08:31 jethro kernel: [20061.095803] Call Trace:
Oct 31 16:08:31 jethro kernel: [20061.095808]  [c10363f5] ? 
warn_slowpath_common+0x5e/0x8a
Oct 31 16:08:31 jethro kernel: [20061.095811]  [c103642b] ? 
warn_slowpath_null+0xa/0xc
Oct 31 16:08:31 jethro kernel: [20061.095813]  [c10d51d0] ? 
mark_buffer_dirty+0x20/0x7a
Oct 31 16:08:31 jethro kernel: [20061.095821]  [f8307fac] ? 
ext3_commit_super+0x40/0x56 [ext3]
Oct 31 16:08:31 jethro kernel: [20061.095827]  [f8309516] ? 
ext3_handle_error+0x6e/0x8e [ext3]
Oct 31 16:08:31 jethro kernel: [20061.095833]  [f830958a] ? 
__ext3_std_error+0x54/0x6f [ext3]
Oct 31 16:08:31 jethro kernel: [20061.095840]  [f8306dd7] ? 

Re: Trying to use a Nokia N95 as a modem over USB

2010-10-30 Thread David Sastre
On Sat, Oct 30, 2010 at 04:35:55PM -0400, Andrew Malcolmson wrote:
 I'm trying to use the GSM data connection of my Nokia N95-3 as a modem
 for my Squeeze laptop over USB.
 
 The Ubuntu wiki indicates that my Nokia is compatible with USB
 tethering but a patch to hal rules is required (As per a bug report
 filed in 2008 but still open.):
 
 The wiki page:
 https://wiki.ubuntu.com/NetworkManager/Hardware/3G#Mobile%20Phones
 
 The bug report:
 https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/262566
 
 The patch file:
 https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/262566/+attachment/338284/+files/10e_modem_fdi_nokia_N95.patch
 
 I'm trying to understand how to apply the patch.  I downloaded the
 patch file to /etc/udev/rules.d and run 'sudo patch -p0
 filename.patch' but patch hangs.  I'm not familiar with applying
 patches.  Is my command wrong is this something to do with a patch
 created in 2008 for Ubuntu will not work on a 2010 Debian?

I think you should do:

$ sudo patch -p0  filename.patch

Note the redirection.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: Configurar paquete

2010-09-18 Thread David Sastre
On Fri, Sep 17, 2010 at 08:55:25AM -0400, Ismael L. Donis García wrote:
 Tengo 2 problemas o más bien dudas:
 
 1- Instalé Firebird 2.1.4 desde el código fuente (funciona
 perfecto), pero después instalé flamerobin_0.9.2-2_i386.deb pero me
 da un error al instalar diciéndome que falta por instalar la
 librería libfbclient2, la cual si está instalada y aunque da el
 error funciona perfecto pero synaptic me lo reporta como paquete
 roto y cada vez que voy a instalar algo me lo desinstala y tengo que
 estar desinstalando y volviendo a instalar cada vez que quiero
 configurar algo.
 
 Ahora mi pregunta como yo podría ver donde es que me pide poner la
 librería libfbclient2 para crearle un enlace en ese lugar y así
 evitarme tener que estar reinstalando a cada rato.
 
 2- Como puedo configurar una aplicación a que se inicie cuando se
 inicie la sección de usuario, esto lo quiero para que se me inicie
 automáticamente Pidgin y no tener que estar levantándola cada vez
 que encienda la Pc.

Hola,

Lo primero, abre un nuevo hilo para hacer una pregunta nueva,
Contestar un correo de otro hilo, aunque hayas modificado el asunto, 
no rompe el hilo original.
Segundo, tienes que darnos algo de contexto: ¿qué usas? potato? sarge? :)
¿Alguna razón para compilar la fuente y no instalar el paquete del
repo? ¿has usado checkinstall?

Para la pregunta, y suponiendo squeeze:
http://packages.debian.org/squeeze/i386/libfbclient2/filelist

/usr/lib/libfbclient.so.2
/usr/lib/libfbclient.so.2.5.0
/usr/share/doc/libfbclient2

Puedes hacer 

dpkg -L libfbclient2

para comprobar que sea así.

Para la segunda pregunta es necesario saber qué DE usas.

Saludos.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: Likewise + Debian Squeeze

2010-09-13 Thread David Sastre
On Sun, Sep 12, 2010 at 07:16:01PM -0400, Francisco Javier Aravena Jimenez 
wrote:
 Que tal, yo de nuevo con mis invento..
 
 la verdad es que en mi trabajo hay un w2008R2 y necesito unir mi equipo
 Debian Squezee a el, el problema es que me es imposible y me genera el
 siguiente problema con PAM, he buscado en Internet pero nadie habla de
 ello... 
 
 A ver si alguien me puede generar un ayuda con ello 
 
 a media de prueba he creado un servidor w2008 y he clonado mi pc para
 poder hacer las pruebas antes de mandarme a abajo mi pc, toqueteando las
 configuraciones...
 
 el error que me da es el siguiente.. desde GUI y CLI, es la versión
 6.001 de LIkewise OPEN
 
 Error: Module not configured [code 0x03eb]
 
 Even though the configuration of 'pam' was executed, the configuration
 is not
 complete. Please contact Likewise support.
 
 y no hay forma que se loguee , no se que archivo tocar... aver si me
 hechan una manito, con el problema...
 
 
 al admin se le ocurrió que si mi equipo no esta en el dominio no puedo
 usar linux :S

Te sirve esto?

http://www.linux.com/learn/tutorials/336477-how-to-join-a-ubuntu-machine-to-a-windows-domain
http://www.likewise.com/resources/documentation_library/

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


signature.asc
Description: Digital signature


Re: Arrow keys won't scroll history in squeeze konsole/bash

2010-09-04 Thread David Sastre
On Fri, Sep 03, 2010 at 01:46:04PM -0800, James Zuelow wrote:
 Original Message
 From: James Zuelow [mailto:james_zue...@ci.juneau.ak.us]
 Sent: Thursday, August 26, 2010 4:31 PM
 To: debian-user@lists.debian.org
 Subject: RE: Arrow keys won't scroll history in squeeze konsole/bash
 
 8---snip---8
  
  I'm not the only one seeing this:
  
  http://www.linuxquestions.org/questions/linux-general-1/kde4-up-key-stops-working-sporadically-828016/
  
  Unlike the author of that post, I haven't remapped any of my keys. 
  Everything should be stock. 
  
 8---snip---8
  
  How I can reproduce:
  
  1) Log in to KDE.  The up arrow works fine.
  2) Log out of KDE.  Log back in again.  The up-arrow does not work.
  3) Log out of KDE, and restart the X server.  Log back in, the up
  arrow works. 
  
  Repeat.
  
  So I work around it by restarting the X server before I log in -- the
  up arrow will work for the FIRST login session.  After that it will
  be ignored until I restart the X server again.  
 
 OK, apparently I'm the only person seeing this on the mailing list.  Unlike 
 the author of the linuxquestions report above, changing my keyboard map does 
 NOT help me.  I still get the same problem regardless.
 
 Now a question for the list:
 
 Which package should I file a bug against?  Between Xorg and KDE I'm not sure 
 where to start -- although I'm pretty sure it's a KDE thing and not X.  
 Plasma desktop?  Or is there some subcomponent of KDE that handles the 
 keyboard specifically?

I have been experiencing this issue since I upgraded this box to KDE4,
although there have been updates in X also. My workaround has been
tweaking a xmodmap file I load the fisrt time I start konsole
(xmodmap xmodmap.txt). Some things doesn't work OK yet, but makes
things usable at the very least. (Many screen apps honor vi-style
keys, so you can navigate using hjkl).
Anyway, as a screen user, this is a real PITA, also, vi in command
mode lacking AltGr makes difficult even to comment a line out: I gotta
enter visual, copy the character and paste it afterwards.

I can confirm that ouside X the keyboard behaves correctly, so 
I have been using xev to see what is going on. Some keys (AltGr,
in this example) send btwo/b different events with different
keycodes:

KeyPress event, serial 40, synthetic NO, window 0x2e1,
root 0x15a, subw 0x0, time 3950562, (378,154), root:(1265,306),
state 0x10, keycode 108 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES,
XKeysymToKeycode returns keycode: 92
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

MappingNotify event, serial 40, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 40, synthetic NO, window 0x2e1,
root 0x15a, subw 0x0, time 3950562, (378,154), root:(1265,306),
state 0x90, keycode 113 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

MappingNotify event, serial 42, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248

KeyRelease event, serial 42, synthetic NO, window 0x2e1,
root 0x15a, subw 0x0, time 3950647, (378,154), root:(1265,306),
state 0x90, keycode 108 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES,
XKeysymToKeycode returns keycode: 92
XLookupString gives 0 bytes:
XFilterEvent returns: False

MappingNotify event, serial 42, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248

KeyRelease event, serial 42, synthetic NO, window 0x2e1,
root 0x15a, subw 0x0, time 3950647, (378,154), root:(1265,306),
state 0x10, keycode 113 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

For cursor keys, I remapped my xmodmap.txt to use only one of those
keycodes, mapping the other to an empty string (example with cursor
down):

KeyPress event, serial 36, synthetic NO, window 0x2e1,
root 0x15a, subw 0x0, time 4421665, (210,-23), root:(1056,0),
state 0x10, keycode 116 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

MappingNotify event, serial 36, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 36, synthetic NO, window 0x2e1,
root 0x15a, subw 0x0, time 4421665, (210,-23), root:(1056,0),
state 0x10, keycode 104 (keysym 0xff54, Down), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

MappingNotify event, serial 38, synthetic NO, window 0x0,
request MappingKeyboard, first_keycode 8, count 248

KeyRelease event, serial 38, synthetic NO, window 0x2e1,
root 0x15a, subw 0x0, time 4421733, (210,-23), root:(1056,0),
state 0x10, keycode 116 

Re: Cambiar codificacion nombres de ficheros recursivamente

2010-06-07 Thread David Sastre
El 07/06/10, AlePando constructora.pa...@gmail.com escribió:
 Hola a todos

 La situacion es la siguiente:
 Para evitar tener que cambiar a mano cada uno de los caracteres de los
 nombres de fichero con error ¿habria alguna herramienta o script para
 vagos que haga esto automagicamente?

 Saludos


Hola,

Puedes usar detox.

$ detox -r -s lower nombre_directorio

Deja todo en minúsculas, sin espacios, y quita caracteres raros.
Está en los repos.

http://packages.debian.org/lenny/detox

Saludos.


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinm1artlcdgj1iwmsw5gwf-ucoiqngw8mkaz...@mail.gmail.com



[ squeeze ] Grub2 RAID1 LVM2 boot failure

2010-05-29 Thread David Sastre Medina
Hello,

Grub2 is failing to boot a softRAID1 + LVM2 squeeze box.
The error is can't find root_vg-root_lv. After that, it drops me to
a initrd shell, but my USB keyboard stops working, so I must
button-reboot.
There are two kernels installed. 
I've attached grub.cfg. It's an automated cfg from update-grub2.
I already tried adding rootdelay without success in /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT=rootdelay=15 quiet

Weird stuff: I have upgraded this box from lenny a week ago or
so. No problems booting.
It used to have a bpo kernel, but since squeeze's repo has the
same (2.6.32-3) kernel, I installed it and uninstalled the bpo one.
No problems booting yet.
Afterwards, I had to `/etc/init.d/vbox setup' to be able to use VBox
again (dkms failed, it seems) and re-run the makeselved script to
install the ATI propietary driver. This box has an ATI Radeon
HD 4550.
Kernel 2.6.32-2 stops booting, so I use 2.6.32-2 while I do some
research about it.
Yesterday, 2.6.32-2 booted without problems, but
since I had ATI propietary driver installed only for 2.6.32-3, I run
the installer in 2.6.32-2. Today this kernel doesn't boot either.

Follows some commands' ouput from within a rescueCD session.

r...@sysresccd /root % ll /mnt/md0
total 16M
drwxr-xr-x  4 root root 4.0K 2010-05-28 20:45 .
drwxr-xr-x 11 root root  180 2010-05-29 10:28 ..
-rw-r--r--  1 root root 109K 2010-02-11 07:48
config-2.6.32-2-686-bigmem
-rw-r--r--  1 root root 109K 2010-02-25 09:01
config-2.6.32-3-686-bigmem
drwxr-xr-x  3 root root 4.0K 2010-05-25 20:52 grub
-rw-r--r--  1 root root 4.1M 2010-05-28 20:45
initrd.img-2.6.32-2-686-bigmem
-rw-r--r--  1 root root 4.1M 2010-05-28 20:45
initrd.img-2.6.32-3-686-bigmem
drwx--  2 root root  16K 2010-01-24 11:12 lost+found
-rw-r--r--  1 root root 1.3M 2010-02-11 07:48
System.map-2.6.32-2-686-bigmem
-rw-r--r--  1 root root 1.3M 2010-02-25 09:01
System.map-2.6.32-3-686-bigmem
-rw-r--r--  1 root root 2.2M 2010-02-11 07:47
vmlinuz-2.6.32-2-686-bigmem
-rw-r--r--  1 root root 2.2M 2010-02-25 09:00
vmlinuz-2.6.32-3-686-bigmem

r...@sysresccd /root % mdadm --detail /dev/md0
/dev/md0:
Version : 0.90
  Creation Time : Sun Jan 24 10:10:43 2010
 Raid Level : raid1
 Array Size : 979840 (957.04 MiB 1003.36 MB)
  Used Dev Size : 979840 (957.04 MiB 1003.36 MB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent

Update Time : Sat May 29 10:29:40 2010
  State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

   UUID : 8052f7d4:54a97fbb:731031f6:bc3d041c
 Events : 0.4

Number   Major   Minor   RaidDevice State
   0   8   170  active sync   /dev/sdb1
   1   8   331  active sync   /dev/sdc1

r...@sysresccd /root % vgdisplay root_vg
  --- Volume group ---
  VG Name   root_vg
  System ID
  Formatlvm2
  Metadata Areas1
  Metadata Sequence No  19
  VG Access read/write
  VG Status resizable
  MAX LV0
  Cur LV11
  Open LV   0
  Max PV0
  Cur PV1
  Act PV1
  VG Size   148.11 GB
  PE Size   4.00 MB
  Total PE  37917
  Alloc PE / Size   15984 / 62.44 GB
  Free  PE / Size   21933 / 85.68 GB
  VG UUID   XN1x4E-uBFZ-svSP-hQMr-kSHe-Ry3s-VtBcsH

r...@sysresccd /root % lvdisplay /dev/mapper/root_vg-root_lv
  --- Logical volume ---
  LV Name/dev/root_vg/root_lv
  VG Nameroot_vg
  LV UUIDFx1w1w-6nvb-aMh1-6iG1-pruF-VuiH-okk9cw
  LV Write Accessread/write
  LV Status  available
  # open 0
  LV Size952.00 MB
  Current LE 238
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 256
  Block device   253:5


Any help is appreciated.

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default=0
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
  fi
}
insmod raid
insmod mdraid
insmod lvm
insmod ext2
set root='(root_vg-usr_lv)'
search --no-floppy --fs-uuid --set a800ad33-1549-4f09-a187-d5c6f13942c4
if loadfont /share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
# For backward compatibility with 

Segfault en varias aplicaciones

2010-01-04 Thread David Sastre
Hola,
  Estoy intentando recuperar un viejo ThinkPad 390x

$ cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 8
model name  : Pentium III (Coppermine)
stepping: 1
cpu MHz : 447.701
cache size  : 256 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr sse up
bogomips: 897.09
clflush size: 32
power management:

$ uname -a
Linux oldie 2.6.26-2-686 #1 SMP Wed Aug 19 06:06:52 UTC 2009 i686
GNU/Linux

Sin previo aviso, se reinicia (mal, por cierto, ni si quiera carga grub).
Por el syslog he encontrado muchos segfaults asociados a demasiados
programas distintos como para que sean los programas lo que está mal:

Jan  4 20:25:52 oldie kernel: [  584.045297] screen[2504]: segfault at
c3d0b7d8 ip 0808c183 sp bfccb3a0 error 5 in screen[8048000+4f000]
Jan  4 20:26:39 oldie kernel: [  631.270013] udevd[2702]: segfault at
f61 ip bff49c60 sp bff49c58 error 4
Jan  4 20:26:39 oldie kernel: [  631.291198] udevd[2706]: segfault at
8fa3528 ip b7e2a3b3 sp bff4ac30 error 4 in
libc-2.7.so[b7db4000+155000]
Jan  4 20:29:05 oldie kernel: [  777.489795] login[2707]: segfault at
1a ip b7f800be sp bfc86a68 error 4 in ld-2.7.so[b7f6c000+1a000]
Jan  4 20:29:26 oldie kernel: [  798.375350] ngetty-helper[2713]:
segfault at 1 ip 0804943b sp bfca317c error 4 in
ngetty-helper[8048000+2000]
Jan  4 20:29:26 oldie kernel: [  798.378781] udevd[2714]: segfault at
804009c ip b7f49764 sp bff4ade8 error 4 in ld-2.7.so[b7f34000+1a000]
Jan  4 20:29:26 oldie kernel: [  798.392360] udevd[2716]: segfault at
5f5e5bc0 ip b7f49760 sp bff4ae04 error 4 in ld-2.7.so[b7f34000+1a000]
Jan  4 20:29:26 oldie kernel: [  798.395931] udevd[2717]: segfault at
9 ip b7e25034 sp bff4b134 error 4 in libc-2.7.so[b7db4000+155000]
Jan  4 20:29:26 oldie kernel: [  798.399707] udevd[2718]: segfault at
201 ip b7e9ff22 sp bff4b05c error 4 in libc-2.7.so[b7db4000+155000]
Jan  4 20:29:33 oldie kernel: [  805.657734] login[2719]: segfault at
00ff ip 00ff sp bf8fff4c error 4
Jan  4 20:29:33 oldie kernel: [  805.671219] udevd[2721]: segfault at
5ee8a871 ip b7f35682 sp bff4c4ec error 6 in ld-2.7.so[b7f34000+1a000]
Jan  4 20:29:33 oldie kernel: [  805.673917] udevd[2722]: segfault at
b7f30080 ip b7f30080 sp bff4c4ec error 4
Jan  4 20:29:33 oldie kernel: [  805.678075] udevd[2723]: segfault at
9 ip b7e25034 sp bff4b134 error 4 in libc-2.7.so[b7db4000+155000]
Jan  4 20:29:33 oldie kernel: [  805.681846] udevd[2724]: segfault at
201 ip b7e9ff22 sp bff4b05c error 4 in libc-2.7.so[b7db4000+155000]
Jan  4 20:29:42 oldie acpid: client 2435[0:0] has disconnected
Jan  4 20:29:42 oldie acpid: client connected from 2435[0:0]
Jan  4 20:29:59 oldie kernel: [  830.979548] ngetty-helper[2725]:
segfault at 8044b6c ip 08048845 sp bfafa7f8 error 4 in
ngetty-helper[8048000+2$
Jan  4 20:30:21 oldie kernel: [  853.316203] ngetty-helper[2761]:
segfault at 804008b ip 080483e5 sp bfdf72e4 error 4 in
ngetty-helper[8048000+2$
suppressed
Jan  4 20:31:02 oldie kernel: [  893.978641] xrdb[2807]: segfault at
b7c800a8 ip b7f21764 sp bfa269b0 error 4 in ld-2.7.so[b7f0c000+1a000]
Jan  4 20:31:02 oldie kernel: [  893.983871] xdm[2804]: segfault at 0
ip b7ec8e46 sp bfc8ff90 error 6 in libXt.so.6.0.0[b7ea8000+4c000]
Jan  4 20:31:02 oldie kernel: [  894.121332] udevd[2808]: segfault at
fff88984 ip b7f3cf31 sp bff49fc8 error 4 in ld-2.7.so[b7f34000+1a000]
Jan  4 20:33:35 oldie kernel: [ 1046.847053] lesspipe[2822]: segfault
at 8210028 ip 0808a38a sp bff8b910 error 4 in bash[8048000+a6000]
Jan  4 20:33:35 oldie kernel: [ 1046.849190] lesspipe[2821]: segfault
at 8238b50 ip 080d7048 sp bff8bd70 error 4 in bash[8048000+a6000]
Jan  4 20:33:35 oldie kernel: [ 1046.879588] uname[2826]: segfault at
804000c ip b7f26224 sp bfa31ed8 error 4 in ld-2.7.so[b7f17000+1a000]

¿Qué os parece? ¿Se muere definitivamente? :'-(


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: RPC Error : Program not registered

2009-04-06 Thread David Sastre
On Mon, Apr 06, 2009 at 09:02:59AM -0400, Jonatan Alballay wrote:
 Si, efectivamente he probado todo, el demonio arriba, he reiniciado la
 máquina los servicios todos pero nada, el common instalado (también el
 kernel y el user) los servicios todo, pero aun así me sigue dando el bendito
 error en la máquina cliente, alguna otra idea? ya no se que mas hacer.
 
 
 
 El 6 de abril de 2009 5:02, Antonio Trujillo Carmona tr...@dti2.netescribió:
 
  El dom, 05-04-2009 a las 19:26 -0400, Jonatan Alballay escribió:
   Listeros todos, he montado un servidor NFS en Debian Lenny 5.0 i386
   para una red de dos equipos con un cable cruzado, los equipos tiene
   comunicación he seguido todos los pasos para la instalación del NFS
   expongo mis archivos:
  
   /etc/exports
   /home/oso/recibe 
   192.168.0.101/255.255.255.0(rw,sync)http://192.168.0.101/255.255.255.0%28rw,sync%29
  
   /etc/hosts.allow
   portmap:192.168.0.101/255.255.255.0
   lockd:192.168.0.101/255.255.255.0
   mountd:192.168.0.101/255.255.255.0
   rquotad:192.168.0.101/255.255.255.0
   statd:192.168.0.101/255.255.255.0
  
   /etc/hosts.denny
   portmap:ALL
   lockd:ALL
   mountd:ALL
   rquotad:ALL
   statd:ALL
  
   en la máquina cliente me dice el error del subjetc RPC Error :
   Program not registered he leído al respecto pero no he podido dar con
   la solución, alguien que alla tenido el mismo problema, listeros de
   ante mano muchas gracias.
  Verifica que tienes instalado nfs-common
 
 
 
 
  --
  To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact
  listmas...@lists.debian.org
 
 

Hola,

Verifica que tienes instalado y funcionando portmap.

Description: RPC port mapper
 Portmap is a server that converts RPC (Remote Procedure Call) program
 numbers into DARPA protocol port numbers. It must be running in order
 to make RPC calls.
 .
 Services that use RPC include NFS and NIS.

Los paquetes del servidor NFS no lo traen como dependencia,
pero te es necesario para levantar este servicio (que alguien me
corrija si me equivoco).

Podría ser una pista.

Suerte.


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: RPC Error : Program not registered

2009-04-06 Thread David Sastre
On Mon, Apr 06, 2009 at 07:51:07PM +0200, David Sastre wrote:
 On Mon, Apr 06, 2009 at 09:02:59AM -0400, Jonatan Alballay wrote:
  Si, efectivamente he probado todo, el demonio arriba, he reiniciado la
  máquina los servicios todos pero nada, el common instalado (también el
  kernel y el user) los servicios todo, pero aun así me sigue dando el bendito
  error en la máquina cliente, alguna otra idea? ya no se que mas hacer.
  
  
  
  El 6 de abril de 2009 5:02, Antonio Trujillo Carmona 
  tr...@dti2.netescribió:
  
   El dom, 05-04-2009 a las 19:26 -0400, Jonatan Alballay escribió:
Listeros todos, he montado un servidor NFS en Debian Lenny 5.0 i386
para una red de dos equipos con un cable cruzado, los equipos tiene
comunicación he seguido todos los pasos para la instalación del NFS
expongo mis archivos:
   
/etc/exports
/home/oso/recibe 
192.168.0.101/255.255.255.0(rw,sync)http://192.168.0.101/255.255.255.0%28rw,sync%29
   
/etc/hosts.allow
portmap:192.168.0.101/255.255.255.0
lockd:192.168.0.101/255.255.255.0
mountd:192.168.0.101/255.255.255.0
rquotad:192.168.0.101/255.255.255.0
statd:192.168.0.101/255.255.255.0
   
/etc/hosts.denny
portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL
   
en la máquina cliente me dice el error del subjetc RPC Error :
Program not registered he leído al respecto pero no he podido dar con
la solución, alguien que alla tenido el mismo problema, listeros de
ante mano muchas gracias.
   Verifica que tienes instalado nfs-common
  
  
  
  
   --
   To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
   with a subject of unsubscribe. Trouble? Contact
   listmas...@lists.debian.org
  
  
 
 Hola,
 
 Verifica que tienes instalado y funcionando portmap.
 
 Description: RPC port mapper
  Portmap is a server that converts RPC (Remote Procedure Call) program
  numbers into DARPA protocol port numbers. It must be running in order
  to make RPC calls.
  .
  Services that use RPC include NFS and NIS.
 
 Los paquetes del servidor NFS no lo traen como dependencia,
 pero te es necesario para levantar este servicio (que alguien me
 corrija si me equivoco).
 
 Podría ser una pista.
 
 Suerte.

He olvidado incluir un link que igual te resulta útil:

http://nfs.sourceforge.net/nfs-howto/ar01s07.html#unable_to_mount_fs



-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Busco aplicación para hacer backups automáticos

2009-02-17 Thread David Sastre
On Tue, Feb 17, 2009 at 09:08:38PM +0100, Carlos Gutierrez wrote:
 Buenas, el caso es que necesitaría alguna aplicación de backups para
 hacer que el SO restaure una determinada imagen backup en una hora
 señalada de forma automática. 
 
 Si no es mucha molestia, agradecería que tuviera alguna guía o que no
 fuese extremadamente complicado.
 
 Muchísimas gracias por la ayuda, saludos.
 
 
Hola,

¿Qué clase de imagen backup necesitas restaurar?
¿archivos concretos? ¿todo el SO?

Para lo primero, podrías llegar a usar tar+cron,
para lo segundo se me ocurre fai.

Suerte.

P.D. No hagas cross-posting, está mal visto.


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: [OT] Tarjeta televisi ón

2009-01-12 Thread David Sastre
On Mon, Jan 12, 2009 at 10:56:41AM +0100, Antonio wrote:
 Hola a todos.

 Quiero comprar una tarjeta de televisión usb para ver la televisión  
 digital en España.  No tengo idea de que modelo funciona bien con  
 debian, y me gustaría la gente que tenga experiencia en el tema que me  
 recomendarais algún modelo. Estoy en lenny y aunque prefiero que sea usb  
 por poder utilizarla de forma fácil en cualquier otro pc, también  
 aceptaría la posibilidad de que fuera pci.
 La quiero utilizar para grabar programas de televisión además de poder  
 verlos.

 Gracias y saludos.


Hola,

Te recomiendo que le eches un vistazo a este sitio

http://www.linuxtv.org/

Vas a encontrar toda la info que necesitas. Busca en el wiki,
hay listados del HW soportado, USB, PCI, PCI Express y demás.
Asegurate de comprar algo que esté soportado, lo digo por experiencia.

Saludos.


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Acceso http a repositorio local

2009-01-02 Thread David Sastre
On Fri, Jan 02, 2009 at 08:51:18AM -0300, David Reese wrote:
 2009/1/1 David Sastre d.sastre.med...@gmail.com:
  On Thu, Jan 01, 2009 at 07:14:32PM +0100, David Sastre wrote:
  On Thu, Jan 01, 2009 at 06:58:36PM +0100, David Sastre wrote:
   Hola gente,
  
   Intento poner en marcha un mirror del repo de lenny para poder usarlo
   con las máquinas de mi LAN. He creado el mirror con
  
   $ cat /media/sda1/DEBMIRROR/makedebmirror.sh
   #!/bin/bash
   debmirror --debug -p -v -h ftp.nl.debian.org --ignore-release-gpg -e
   http -d lenny $PWD --nosource -a i386
  
   Lo tengo en una partición dedicada (/media/sda1).
   Pretendo acceder a este repo via http, y para ello utilizo un
   sources-list con esta línea
  
   deb http://localhost/debmirror lenny main contrib non-free
  
   En el httpd.conf de apache defino
  
   ServerName localhost
   DocumentRoot /var/www
   Directory /
   Options FollowSymLinks
   AllowOverride None
   /Directory
   Directory /var/www/
   Options Indexes Includes FollowSymLinks MultiViews
   AllowOverride None
   Order allow,deny
   Allow from all
   /Directory
  
   Y en /var/www
  
   $ ll
   lrwxrwxrwx 1 root root   22 ene  1 15:29 debmirror -
   /media/sda1/DEBMIRROR/
  
   La estructura en el mirror es
  
   $ ll /media/sda1/DEBMIRROR/
   total 28K
   drwxr-xr-x 4 dawud dawud 4,0K ene  1 14:54 aptcache
   drwxr-xr-x 4 dawud dawud 4,0K ene  1 14:54 debian
   drwxr-xr-x 3 dawud dawud 4,0K ene  1 14:54 debian-security
   drwxr-xr-x 3 dawud dawud 4,0K ene  1 14:54 dists
   -rwxr--r-- 1 dawud dawud  120 ene  1 17:23 makedebmirror.sh
   drwxr-xr-x 5 dawud dawud 4,0K ene  1 15:27 pool
   drwxr-xr-x 3 dawud dawud 4,0K ene  1 15:30 project
  
   Al intentar actualizar en aptitude me da un 404.
   Apache está levantado
  
   $ ping localhost
   PING localhost (127.0.0.1) 56(84) bytes of data.
   64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.027 ms
  
   He probado el acceso desde un navegador (elinks) y no hay problema.
   Se me debe estar escapando algo obvio, pero no lo veo.
   Que alguien me de una colleja, por favor.
  
   Gracias.
 
 
  Bueno.
 
  Del log de apache
 
  [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
  exist: /var/www/debianmirror/dists/lenny/Release.gpg
  [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
  exist: /var/www/debianmirror/dists/lenny/main/i18n/Translation-es.bz2
  [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
  exist:
  /var/www/debianmirror/dists/lenny/contrib/i18n/Translation-es.bz2
  [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
  exist:
  /var/www/debianmirror/dists/lenny/non-free/i18n/Translation-es.bz2
  [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
  exist: /var/www/debianmirror/dists/lenny/Release
  [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
  exist: /var/www/debianmirror/dists/lenny/main/binary-i386/Packages.bz2
  [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
  exist:
  /var/www/debianmirror/dists/lenny/contrib/binary-i386/Packages.bz2
  [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
  exist:
  /var/www/debianmirror/dists/lenny/non-free/binary-i386/Packages.bz2
  [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
  exist: /var/www/debianmirror/dists/lenny/main/binary-i386/Packages.gz
  [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
  exist:
  /var/www/debianmirror/dists/lenny/contrib/binary-i386/Packages.gz
  [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
  exist:
  /var/www/debianmirror/dists/lenny/non-free/binary-i386/Packages.gz
 
  ...y otras parecidas de mis intentos modificando la línea del
  sources.list para probar.
 
  Hice un
 
  $ find /var/www/debmirror/ -name Packages.bz2
  /var/www/debmirror/.temp/dists/lenny/main/debian-installer/binary-i386/Packages.bz2
  /var/www/debmirror/.temp/dists/lenny/main/binary-i386/Packages.bz2
  /var/www/debmirror/.temp/dists/lenny/contrib/binary-i386/Packages.bz2
  /var/www/debmirror/.temp/dists/lenny/non-free/binary-i386/Packages.bz2
 
  y modifiqué el sources.list
 
  deb http://localhost/debmirror/.temp/ lenny main contrib non-free
 
  Ahora actualizo la lista de paquetes, pero si selecciono algo para
  instalar, obviamente no lo encuentra
 
  [Thu Jan  1 19:10:19 2009] [error] [client 127.0.0.1] File does not
  exist:
  /var/www/debmirror/.temp/pool/contrib/p/python2.5-doc/python2.5-doc_2.5.2-2_all.deb
 
  ¿Alguien por ahí con experiencia con debmirror?
 
  Gracias de nuevo.
 
  He solucionado haciendo una chapucilla:
 
  $ ll /var/www/debmirror/debian
  total 4,0K
  drwxr-xr-x 3 dawud dawud 4,0K ene  1 20:17 dists
  lrwxrwxrwx 1 dawud dawud8 ene  1 20:01 pool - ../pool/
 
  y
 
  $ ll /var/www/debmirror/debian/dists/
  total 4,0K
  lrwxrwxrwx 1 dawud dawud   24 ene  1 20:17 lenny -
  ../../.temp/dists/lenny/
  drwxr-xr-x

Acceso http a repositorio local

2009-01-01 Thread David Sastre
Hola gente,

Intento poner en marcha un mirror del repo de lenny para poder usarlo
con las máquinas de mi LAN. He creado el mirror con

$ cat /media/sda1/DEBMIRROR/makedebmirror.sh
#!/bin/bash
debmirror --debug -p -v -h ftp.nl.debian.org --ignore-release-gpg -e
http -d lenny $PWD --nosource -a i386

Lo tengo en una partición dedicada (/media/sda1).
Pretendo acceder a este repo via http, y para ello utilizo un
sources-list con esta línea

deb http://localhost/debmirror lenny main contrib non-free

En el httpd.conf de apache defino

ServerName localhost
DocumentRoot /var/www
Directory /
Options FollowSymLinks
AllowOverride None
/Directory
Directory /var/www/
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
/Directory

Y en /var/www

$ ll
lrwxrwxrwx 1 root root   22 ene  1 15:29 debmirror -
/media/sda1/DEBMIRROR/

La estructura en el mirror es

$ ll /media/sda1/DEBMIRROR/
total 28K
drwxr-xr-x 4 dawud dawud 4,0K ene  1 14:54 aptcache
drwxr-xr-x 4 dawud dawud 4,0K ene  1 14:54 debian
drwxr-xr-x 3 dawud dawud 4,0K ene  1 14:54 debian-security
drwxr-xr-x 3 dawud dawud 4,0K ene  1 14:54 dists
-rwxr--r-- 1 dawud dawud  120 ene  1 17:23 makedebmirror.sh
drwxr-xr-x 5 dawud dawud 4,0K ene  1 15:27 pool
drwxr-xr-x 3 dawud dawud 4,0K ene  1 15:30 project

Al intentar actualizar en aptitude me da un 404.
Apache está levantado

$ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.027 ms

He probado el acceso desde un navegador (elinks) y no hay problema.
Se me debe estar escapando algo obvio, pero no lo veo.
Que alguien me de una colleja, por favor.

Gracias.


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Acceso http a repositorio local [SOLUCIONADO]

2009-01-01 Thread David Sastre
On Thu, Jan 01, 2009 at 06:58:36PM +0100, David Sastre wrote:
 Hola gente,
 
 Intento poner en marcha un mirror del repo de lenny para poder usarlo
 con las máquinas de mi LAN. He creado el mirror con
 
 $ cat /media/sda1/DEBMIRROR/makedebmirror.sh
 #!/bin/bash
 debmirror --debug -p -v -h ftp.nl.debian.org --ignore-release-gpg -e
 http -d lenny $PWD --nosource -a i386
 
 Lo tengo en una partición dedicada (/media/sda1).
 Pretendo acceder a este repo via http, y para ello utilizo un
 sources-list con esta línea
 
 deb http://localhost/debmirror lenny main contrib non-free
 
 En el httpd.conf de apache defino
 
 ServerName localhost
 DocumentRoot /var/www
 Directory /
 Options FollowSymLinks
 AllowOverride None
 /Directory
 Directory /var/www/
 Options Indexes Includes FollowSymLinks MultiViews
 AllowOverride None
 Order allow,deny
 Allow from all
 /Directory
 
 Y en /var/www
 
 $ ll
 lrwxrwxrwx 1 root root   22 ene  1 15:29 debmirror -
 /media/sda1/DEBMIRROR/
 
 La estructura en el mirror es
 
 $ ll /media/sda1/DEBMIRROR/
 total 28K
 drwxr-xr-x 4 dawud dawud 4,0K ene  1 14:54 aptcache
 drwxr-xr-x 4 dawud dawud 4,0K ene  1 14:54 debian
 drwxr-xr-x 3 dawud dawud 4,0K ene  1 14:54 debian-security
 drwxr-xr-x 3 dawud dawud 4,0K ene  1 14:54 dists
 -rwxr--r-- 1 dawud dawud  120 ene  1 17:23 makedebmirror.sh
 drwxr-xr-x 5 dawud dawud 4,0K ene  1 15:27 pool
 drwxr-xr-x 3 dawud dawud 4,0K ene  1 15:30 project
 
 Al intentar actualizar en aptitude me da un 404.
 Apache está levantado
 
 $ ping localhost
 PING localhost (127.0.0.1) 56(84) bytes of data.
 64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.027 ms
 
 He probado el acceso desde un navegador (elinks) y no hay problema.
 Se me debe estar escapando algo obvio, pero no lo veo.
 Que alguien me de una colleja, por favor.
 
 Gracias.


Bueno.

Del log de apache 

[Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
exist: /var/www/debianmirror/dists/lenny/Release.gpg
[Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
exist: /var/www/debianmirror/dists/lenny/main/i18n/Translation-es.bz2
[Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
exist:
/var/www/debianmirror/dists/lenny/contrib/i18n/Translation-es.bz2
[Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
exist:
/var/www/debianmirror/dists/lenny/non-free/i18n/Translation-es.bz2
[Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
exist: /var/www/debianmirror/dists/lenny/Release
[Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
exist: /var/www/debianmirror/dists/lenny/main/binary-i386/Packages.bz2
[Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
exist:
/var/www/debianmirror/dists/lenny/contrib/binary-i386/Packages.bz2
[Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
exist:
/var/www/debianmirror/dists/lenny/non-free/binary-i386/Packages.bz2
[Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
exist: /var/www/debianmirror/dists/lenny/main/binary-i386/Packages.gz
[Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
exist:
/var/www/debianmirror/dists/lenny/contrib/binary-i386/Packages.gz
[Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
exist:
/var/www/debianmirror/dists/lenny/non-free/binary-i386/Packages.gz

...y otras parecidas de mis intentos modificando la línea del
sources.list para probar.

Hice un

$ find /var/www/debmirror/ -name Packages.bz2
/var/www/debmirror/.temp/dists/lenny/main/debian-installer/binary-i386/Packages.bz2
/var/www/debmirror/.temp/dists/lenny/main/binary-i386/Packages.bz2
/var/www/debmirror/.temp/dists/lenny/contrib/binary-i386/Packages.bz2
/var/www/debmirror/.temp/dists/lenny/non-free/binary-i386/Packages.bz2

y modifiqué el sources.list

deb http://localhost/debmirror/.temp/ lenny main contrib non-free

Ahora actualizo la lista de paquetes, pero si selecciono algo para
instalar, obviamente no lo encuentra

[Thu Jan  1 19:10:19 2009] [error] [client 127.0.0.1] File does not
exist:
/var/www/debmirror/.temp/pool/contrib/p/python2.5-doc/python2.5-doc_2.5.2-2_all.deb

¿Alguien por ahí con experiencia con debmirror?

Gracias de nuevo.


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Acceso http a repositorio local [SOLUCIONADO]

2009-01-01 Thread David Sastre
On Thu, Jan 01, 2009 at 07:14:32PM +0100, David Sastre wrote:
 On Thu, Jan 01, 2009 at 06:58:36PM +0100, David Sastre wrote:
  Hola gente,
  
  Intento poner en marcha un mirror del repo de lenny para poder usarlo
  con las máquinas de mi LAN. He creado el mirror con
  
  $ cat /media/sda1/DEBMIRROR/makedebmirror.sh
  #!/bin/bash
  debmirror --debug -p -v -h ftp.nl.debian.org --ignore-release-gpg -e
  http -d lenny $PWD --nosource -a i386
  
  Lo tengo en una partición dedicada (/media/sda1).
  Pretendo acceder a este repo via http, y para ello utilizo un
  sources-list con esta línea
  
  deb http://localhost/debmirror lenny main contrib non-free
  
  En el httpd.conf de apache defino
  
  ServerName localhost
  DocumentRoot /var/www
  Directory /
  Options FollowSymLinks
  AllowOverride None
  /Directory
  Directory /var/www/
  Options Indexes Includes FollowSymLinks MultiViews
  AllowOverride None
  Order allow,deny
  Allow from all
  /Directory
  
  Y en /var/www
  
  $ ll
  lrwxrwxrwx 1 root root   22 ene  1 15:29 debmirror -
  /media/sda1/DEBMIRROR/
  
  La estructura en el mirror es
  
  $ ll /media/sda1/DEBMIRROR/
  total 28K
  drwxr-xr-x 4 dawud dawud 4,0K ene  1 14:54 aptcache
  drwxr-xr-x 4 dawud dawud 4,0K ene  1 14:54 debian
  drwxr-xr-x 3 dawud dawud 4,0K ene  1 14:54 debian-security
  drwxr-xr-x 3 dawud dawud 4,0K ene  1 14:54 dists
  -rwxr--r-- 1 dawud dawud  120 ene  1 17:23 makedebmirror.sh
  drwxr-xr-x 5 dawud dawud 4,0K ene  1 15:27 pool
  drwxr-xr-x 3 dawud dawud 4,0K ene  1 15:30 project
  
  Al intentar actualizar en aptitude me da un 404.
  Apache está levantado
  
  $ ping localhost
  PING localhost (127.0.0.1) 56(84) bytes of data.
  64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.027 ms
  
  He probado el acceso desde un navegador (elinks) y no hay problema.
  Se me debe estar escapando algo obvio, pero no lo veo.
  Que alguien me de una colleja, por favor.
  
  Gracias.
 
 
 Bueno.
 
 Del log de apache 
 
 [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
 exist: /var/www/debianmirror/dists/lenny/Release.gpg
 [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
 exist: /var/www/debianmirror/dists/lenny/main/i18n/Translation-es.bz2
 [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
 exist:
 /var/www/debianmirror/dists/lenny/contrib/i18n/Translation-es.bz2
 [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
 exist:
 /var/www/debianmirror/dists/lenny/non-free/i18n/Translation-es.bz2
 [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
 exist: /var/www/debianmirror/dists/lenny/Release
 [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
 exist: /var/www/debianmirror/dists/lenny/main/binary-i386/Packages.bz2
 [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
 exist:
 /var/www/debianmirror/dists/lenny/contrib/binary-i386/Packages.bz2
 [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
 exist:
 /var/www/debianmirror/dists/lenny/non-free/binary-i386/Packages.bz2
 [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
 exist: /var/www/debianmirror/dists/lenny/main/binary-i386/Packages.gz
 [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
 exist:
 /var/www/debianmirror/dists/lenny/contrib/binary-i386/Packages.gz
 [Thu Jan  1 17:54:00 2009] [error] [client 127.0.0.1] File does not
 exist:
 /var/www/debianmirror/dists/lenny/non-free/binary-i386/Packages.gz
 
 ...y otras parecidas de mis intentos modificando la línea del
 sources.list para probar.
 
 Hice un
 
 $ find /var/www/debmirror/ -name Packages.bz2
 /var/www/debmirror/.temp/dists/lenny/main/debian-installer/binary-i386/Packages.bz2
 /var/www/debmirror/.temp/dists/lenny/main/binary-i386/Packages.bz2
 /var/www/debmirror/.temp/dists/lenny/contrib/binary-i386/Packages.bz2
 /var/www/debmirror/.temp/dists/lenny/non-free/binary-i386/Packages.bz2
 
 y modifiqué el sources.list
 
 deb http://localhost/debmirror/.temp/ lenny main contrib non-free
 
 Ahora actualizo la lista de paquetes, pero si selecciono algo para
 instalar, obviamente no lo encuentra
 
 [Thu Jan  1 19:10:19 2009] [error] [client 127.0.0.1] File does not
 exist:
 /var/www/debmirror/.temp/pool/contrib/p/python2.5-doc/python2.5-doc_2.5.2-2_all.deb
 
 ¿Alguien por ahí con experiencia con debmirror?
 
 Gracias de nuevo.

He solucionado haciendo una chapucilla:

$ ll /var/www/debmirror/debian
total 4,0K
drwxr-xr-x 3 dawud dawud 4,0K ene  1 20:17 dists
lrwxrwxrwx 1 dawud dawud8 ene  1 20:01 pool - ../pool/

y

$ ll /var/www/debmirror/debian/dists/
total 4,0K
lrwxrwxrwx 1 dawud dawud   24 ene  1 20:17 lenny -
../../.temp/dists/lenny/
drwxr-xr-x 3 dawud dawud 4,0K ene  1 14:54 testing

He debido generar algo mal...

El caso es que 

deb http://localhost/debmirror/debian/ lenny main contrib non-free

funciona bien ahora.

Seguro que, de todas maneras, alguien me indica lo

Re: Virtualizar Debian

2008-12-29 Thread David Sastre
On Mon, Dec 29, 2008 at 01:52:24PM -0300, Mauricio J. Adonis C. wrote:
 Hola amigos, estoy tratando de crear una máquina virtual con Debian
 usando VirtualBox, pero no puedo lograrlo; probé hacer la instalación
 mediante dos imágenes diferentes, primero intenté con el CD nº1 del set
 completo de instalación (de unos 670 MB +-), pero no resultó pues
 después de hacer la instalación, al ingresar como usuario me aparecía
 una pantallita diciéndome que había fallado el inicio de sesión y
 simplemente se cerraba todo volviendo al login. Probé el CD que hace la
 instalación por internet (de unos 400 MB +-)... esta me dio error y al
 finalizar no terminó de instalar grub.
 Tengo dos discos, uno IDE y uno USB, el USB lo uso para guardar las
 máquinas virtuales en una partición llamada /store, por lo tanto la
 instalación se hace sobre el disco virtual que está en el dispositivo
 USB. El sistema operativo está en el disco IDE..
 Esta última imagen que utilicé es Debian 4.0 r5, que descargué del sitio
 oficial (creo que es Etch)
 ¿Estoy haciendo algo mal o falta algo más por hacer?, les agradecería su
 ayuda, de antemano gracias.
 
 Saludos, Mauricio.
 

Hola,

Alguna vez he tenido problemas al instalar Debian en una máquina
virtual si había seleccionado la opción de Disco de expansión
dinámica en vez de la de tamaño fijo. No tiene porqué ser lo que te
esté fallando a tí, pero puedes probar (igual ya lo haces así, pero no
lo dices).

Saludos.


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Mouse optico

2008-11-29 Thread David Sastre
On Sat, Nov 29, 2008 at 01:39:17PM -0600, sergio mendieta wrote:
 Buenos días lista,
 
 Tengo un problema,
 
 Tengo instalado dos SO, Windows XP y Gnu/Linux (Debian etch),
 
 La cosa es que se ha dañado el mouse (optico, ps2), pero en window puedo
 entrar con el uso de solo el teclado,
 pero en Debian etch el teclado no es detectado, y no puedo nisiquiera
 logearme, pero en las opciones de grub
 de SO a escoger puedo mover entre SO (con el uso del teclado), es mas al
 entrar a las opciones de grub con c, puedo escribir, pero cuando carga gdm
 no puedo utilizar el teclado, y no puedo escribir el user y pass y menos
 hacer ctrl + alt + F1 para entrar a una terminal.
 
 No deberia pasar esto, si el mouse es independiete del teclado.
 
 A que se debe esto?
 
 Sera otro problema con mi etch!, seguro debe ser otro problema que opinan.
 
 (pronto compro el mouse pero se arreglara mi debian/etch, espero que si ya
 que tengo que hacer un monton de cosas este fin de semana y window no me
 ayudara muchos)
 
 Saludos y gracias.

Hola,

Prueba a usar una terminal no gráfica, pulsando CTRL+ALT+F1.
Mira a ver si desde ahí puedes escribir.

Un saludo.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sincronizar una carpeta por FTP?

2008-11-29 Thread David Sastre
On Tue, Nov 25, 2008 at 07:31:01PM +0100, Alejandro wrote:
 2008/11/25 Agustin Martin [EMAIL PROTECTED]
 
On Sun, Nov 23, 2008 at 03:44:23AM +0100, Alejandro Matos wrote:
 Hola!

 Pues eso, intento tener una copia de seguridad en un servidor al que
 acceso por FTP y me preguntaba si alguno conocía algun programa que
  me
 lo permita?

 He probado lftp, pero lo que hace es subir archivos, no
 sincronizarlos...
 
  sitecopy
 
  Tambien funciona con sftp, aunque no está documentado.
 
  No se si para la cantidad de ficheros que me imagino utilizas irá bien,
  pero
  es una alternativa.
 
 
 
 Para lo que necesito me viene genial, es exsactamente lo que buscaba.
 Muchas gracias!
 Alejandro

rsync también funciona sobre ftp seguro (scp/ssh)

:)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sincronizar una carpeta por FTP?

2008-11-29 Thread David Sastre
On Tue, Nov 25, 2008 at 07:31:01PM +0100, Alejandro wrote:
 2008/11/25 Agustin Martin [EMAIL PROTECTED]
 
On Sun, Nov 23, 2008 at 03:44:23AM +0100, Alejandro Matos wrote:
 Hola!

 Pues eso, intento tener una copia de seguridad en un servidor al que
 acceso por FTP y me preguntaba si alguno conocía algun programa que
  me
 lo permita?

 He probado lftp, pero lo que hace es subir archivos, no
 sincronizarlos...
 
  sitecopy
 
  Tambien funciona con sftp, aunque no está documentado.
 
  No se si para la cantidad de ficheros que me imagino utilizas irá bien,
  pero
  es una alternativa.
 
 
 
 Para lo que necesito me viene genial, es exsactamente lo que buscaba.
 Muchas gracias!
 Alejandro

http://www.brunolinux.com/10-General_Info/Rsync.html 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian como servidor(es) corporativo(s)

2008-11-23 Thread David Sastre
On Sat, Nov 22, 2008 at 11:35:07PM -0200, Ricardo Delgado wrote:
 Hola, quiero saber si alguien tiene experiencia trabajando con debian
 como servidor a equipos debian
 
  En general veo que siempre hay servidores con pc's con W$ del
 lado del usuario, mi pregunta tiene que ver con algunos de los
 siguientes puntos.
 
* como se hacen actualizaciones
* como distribuir paquetes para ciertos sectores (ej. solo
 openoffice writer en el sector almacen, solo calc en finanzas)
* si necesito instalar algun paquete a todas las pc (ej, instalar 
 clamav)
* en caso de ingresar una persona nueva, normalmente hay
 imagenes del SO preinstalado que se cargan en los equipos (en el caso
 de las portatiles VPN)
 
  Sucede que mi experiencia tiene que ver con servidores W$ y
 no tengo en claro como seria desde el lado GNU, si alguien tiene algun
 link donde buscar mejor, gracias
 

Hola, 

Intentaré responder a lo que preguntas, si bien no me parece que
concretes demasiado, a saber:

-Suponiendo que, como dices, estuviésemos en un entorno con servidores
Debian y equipos Debian, las actualizaciones de estos equipos pueden
hacerse a través de herramientas como apt-proxy y/o apt-mirror, por
ejemplo.

-Más fácil que conseguir que sólo algunos equipos tengan acceso a
ciertas partes del repositorio local, me parece la opción de instalarles tú las
aplicaciones remotamente, siempre y cuando no se trate de demasiados
equipos; o incluso podrías implementar soluciones de uso remoto de
aplicaciones (por ejemplo  :).

-Puedes generar tu propia distribución, que contenga las aplicaciones
que te interesen, o disponer de imágenes mínimas que puedas ajustar
rápidamente.

Espero ser de ayuda.

Un saludo.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Sincronizar una carpeta por FTP?

2008-11-23 Thread David Sastre
On Sun, Nov 23, 2008 at 03:44:23AM +0100, Alejandro Matos wrote:
 Hola!
 
 Pues eso, intento tener una copia de seguridad en un servidor al que
 acceso por FTP y me preguntaba si alguno conocía algun programa que me
 lo permita?
 
 He probado lftp, pero lo que hace es subir archivos, no
 sincronizarlos...
 
 Muchas gracias
 Alejandro
 
 

Hola,

Sin duda, rsync

$ apt-cache show rsync

Description-es: programa de copia rápida de archivos remotos (como
rcp)
 rsync es un programa que permite copiar archivos hasta y desde
máquinas remotas prácticamente igual que rcp. Tiene algunas opciones más que
rcp, y utiliza el protocolo de actualización remota de rsync para una gran
aceleración de la transferencia de archivos cuando el archivo de
destino ya existe.
 El protocolo de actualización remota de rsync le permite enviar sólo
las diferencias entre dos conjuntos de archivos a través de un enlace de
red.
 Este paquete también incluye la funcionalidad del demonio rsyncd


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Fingerprint reader

2008-11-23 Thread David Sastre
On Sun, Nov 23, 2008 at 10:19:14AM -0500, Ricardo Andrés Martínez wrote:
 Saludos
 Tengo un Portátil HP dv2621la Notebook, hasta ahora no he tenido mayores
 problemas a nivel de Hardware, como lo tengo funciona a la perfección
 pero este PC tiene (Fingerprint reader) es decir un lector de huellas
 eso no me funciona, si alguien sabe configurarlo o sabe donde consigo
 info para la configuracion lo agradecería.
 
 Cordialmente;
 
 Ricardo Martínez
 ---
 
 

Hola,

En principio, y sin saber siquiera si está soportado, deberías ver si,
por lo menos, Debian está detectando ese dispositivo. Busca en la
salida de dmesg, lspci, lsusb ...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Elegir entre navegadores

2008-11-23 Thread David Sastre
On Sun, Nov 23, 2008 at 05:58:32PM -0200, Sylvia Sanchez wrote:
 ¡Ah!  Antes de que se me olvide, es Iceweasel 2.x. y el Debian es Etch,
 4 pelado, sin actualizaciones ni nada  (no sé cómo hacerlas).
 

Para actualizar tu sistema debes utilizar aptitude en consola, o bien
Synaptic o KPackage en entorno gráfico. Aprender qué haces cuando
actualizas tu sistema en muy importante, y te da control sobre el
sistema. No es muy difícil y sí muy gratificante. Cualquier duda, ya
sabes  :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Mutt + msmtp + fetchmail tras proxy

2008-11-19 Thread David Sastre
On Wed, Nov 19, 2008 at 09:01:36AM +0100, fernandojoseGmail wrote:
 david sastre wrote:
  El día 18 de noviembre de 2008 11:47, fernandojoseGmail
  [EMAIL PROTECTED] escribió:

  david sastre wrote:
  
  Hola gente,
 
  Estoy intentando configurar mutt para usarlo en el trabajo. Aquí estoy
  tras un proxy transparente, pero que -seguro- tiene muchos puertos
  capados.
  ¿Alguien sabe cómo podría pasar el tráfico de correo (pop3) por el
  puerto 8080 para cruzar el proxy?
  He probado -sin éxito- un programa que se llama hotwayd[0]. Se supone
  que sirve para hacer algo parecido ¿alguien lo conoce y/o lo ha usado?
  En principio, debería bastar con añadir:
 
  plugin /usr/local/sbin/hotwayd -l 0 -p host:puerto
 
   proxy
 
  en el .fetchmailrc. No es mi caso
  ¿Alguien por ahí está en un contexto parecido?
 
  Gracias por vuestro tiempo.
 
  [0] http://sourceforge.net/projects/hotwayd/
 
 
 

  Yo uso por no molestarme en cambiar uno llamado desproxy,
  pero no está en Debian.
 
  En Debian hay cosas como:
  proxychains, connect-proxy o corkscrew que te podrán servir.
 
 
  te comento como se hace para desproxy.
  Para los otros será parecido. Ejecutas el comando del programa que
  redirige los puertos
  por el porxy pasándole el puerto que vas a usar en el localhost (9995).
 
  $   desproxy pop.gmail.com 995 proxy.tuEmpresa.com 8080 9995 
 
  y en el .fetchmail te conectas claro está al localhost
 
  ---
  poll localhost proto pop3
  user [EMAIL PROTECTED], with password tuPassword, is tuUsuarioLinux
  here ssl;
  keep;
  ---
 
  y el comando de fetchmail -P 9995
 
  --
  Fernando.
  {:-{D
 
Hackers do it with fewer instructions.
 
 
 
 
  
 
  creo que lo que está fallando es otra cosa...:
 
  $ connect-proxy pop.gmail.com 995 172.29.0.71 8080 9995 
  $ FATAL: Unable to connect to destination host, errno=116
 
  y desde mutt:
 
  fetchmail: 6.3.8 querying pop.gmail.com (protocol POP3) at Tue Nov 18
  17:51:24 2008: poll started
  fetchmail: running /usr/local/sbin/hotwayd -l 3 -p
  xxx.xxx.xxx.xxx:8080 (host pop.gmail.com service pop3s)
  3588:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown
  protocol:s23_clnt.c:601:
  fetchmail: SSL connection failed.
  fetchmail: socket error while fetching from
  [EMAIL PROTECTED]@pop.gmail.com
  fetchmail: 6.3.8 querying pop.gmail.com (protocol POP3) at Tue Nov 18
  17:51:25 2008: poll completed
  fetchmail: Query status=2 (SOCKET)
  fetchmail: normal termination, status 2
 
  Alguien sabe que es este error :unknown protocol:s23_clnt.c:601:   
  STFW no ha dado resultados aceptablesalgo con openssl, creo...
 

 A ver, creo que no te has mirado el man del connect-proxy y has usado la
 misma linea que yo con el desproxy. (son programas distintos aunque
 intenten hacer lo mismo)
 
 No he usado nunca el connect-proxy, pero supongo que la filosofía es la
 misma, redirigir un puerto local a uno a través del proxy.
 
 en el man pone ejemplos:
 
 Sería algo así
 
 connect-proxy -H proxy-server:8080  -p 9995 host 995
 
 (lo del fetchmail igual)
 
 
 
 Por cierto, a mi no me importa que me contestes al privado pero la norma
 es contestar a la lista para que si alguien tiene la misma duda pueda
 aprender de nuestros errores :-)
 
Completamente de acuerdo. Mil perdones por el privado, no fue
intencionado. ¡Gmail tiene la culpa! :) (  y por eso quiero que me
funcione mutt en el curro :P  )
Y tienes razón, leí poco el man. Me aplico el cuento y mañana mismo
pruebo (previa lectura detallada del man de connect-proxy). A ver si
pongo un flamante [SOLUCIONADO].

De nuevo gracias y disculpas.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Mutt + msmtp + fetchmail tras proxy

2008-11-18 Thread david sastre
Hola gente,

Estoy intentando configurar mutt para usarlo en el trabajo. Aquí estoy
tras un proxy transparente, pero que -seguro- tiene muchos puertos
capados.
¿Alguien sabe cómo podría pasar el tráfico de correo (pop3) por el
puerto 8080 para cruzar el proxy?
He probado -sin éxito- un programa que se llama hotwayd[0]. Se supone
que sirve para hacer algo parecido ¿alguien lo conoce y/o lo ha usado?
En principio, debería bastar con añadir:

plugin /usr/local/sbin/hotwayd -l 0 -p host:puerto
   
 proxy

en el .fetchmailrc. No es mi caso
¿Alguien por ahí está en un contexto parecido?

Gracias por vuestro tiempo.

[0] http://sourceforge.net/projects/hotwayd/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Clave gpg repositorios oficiales

2008-11-14 Thread David Sastre
On Fri, Nov 14, 2008 at 10:12:18AM -0200, JAP wrote:

 Ya busqué, pero debo hacerlo mal, pues no encuentro.

 ¿Dónde están los archivos de firma para los repositorios oficiales de  
 Debian?

 Estoy medio prodrido que apt-get me informe que la fuente no está firmada.
 Y el --force-yes lo dejo para ocasiones especiales.


Hola,

Supongo que tienes la buena costumbre de hacer 

# apt-get update

antes de instalar nada. A veces el update no termina bien y apt
arroja ese error. Un consejo: es más que recomendable pasarse a aptitude para
gestionar paquetes.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: convertir video a formato DVD

2008-11-03 Thread david sastre
El día 3 de noviembre de 2008 10:51, Gustavo Amestica
[EMAIL PROTECTED] escribió:
 Hola Lista , hay algun programa en linux parecido a Convertxto DVD .
 Gracias



 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Creo que dvdauthor te vale:

http://packages.debian.org/etch/dvdauthor


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Abrir aplicaciones

2008-10-31 Thread David Sastre
On Fri, Oct 31, 2008 at 09:08:24PM +0100, Jose Manuel Colon wrote:
 Buenas, acabo de compilar un programa que me ha dado dos ejecutables, pero
 al darles dos clicks no se me abren. ¿Tengo que usar algo especial para
 abrirlos?
 
 Muchísimas gracias por responder.

Hola,

¿Qué programa?
Debes dar más info para que podamos ayudarte.

No se si sabes que en UNIX en general, y en Linux en particular, los archivos 
tienen
permisos que indican si son o no ejecutables.

Recomiendo hacer 

# info chmod 

Haz un 

# ls -l 

del directorio que aloja los archivos que dices y compáralo con lo que
vas a encontrar en la info.

Suerte.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Abrir aplicaciones

2008-10-31 Thread David Sastre
  On Fri, Oct 31, 2008 at 09:08:24PM +0100, Jose Manuel Colon wrote:
   Buenas, acabo de compilar un programa que me ha dado dos ejecutables,
  pero
   al darles dos clicks no se me abren. ¿Tengo que usar algo especial para
   abrirlos?
  
   Muchísimas gracias por responder.
 
  Hola,
 
  ¿Qué programa?
  Debes dar más info para que podamos ayudarte.
 
  No se si sabes que en UNIX en general, y en Linux en particular, los
  archivos tienen
  permisos que indican si son o no ejecutables.
 
  Recomiendo hacer
 
  # info chmod
 
  Haz un
 
  # ls -l
 
  del directorio que aloja los archivos que dices y compáralo con lo que
  vas a encontrar en la info.
 
  Suerte.
 
On Fri, Oct 31, 2008 at 09:35:54PM +0100, Jose Manuel Colon wrote:
 Buenas y muchas gracias por molestarte en ayudarme. Los dos
 programas se
 llaman xmacroplay y xmacrorec2, y ahora mismo se ma ha ocurrido la
 idea de
 que tal vez pueda ejecutarlos con la terminal (siendo viceversa no
 funciona), pero no se cual es el nombre de la aplicacion de la
 terminal

 Saludos.


Vamos a ver
Sigues sin dar nada de información.
¿Por qué no dices qué es lo que has hecho?

EJEMPLO:
descargué de htttp://xx.com tal código, lo compilé
haciendo , me dió el error xx ( o ninguno),
después de hacerlo, se habían generado los archivos xx 
 con los siguientes permisos, etc

¿Me sigues?
Supongo que has descargado código fuente, ¿cómo lo has compilado?
TODOS los programas pueden lanzarse desde una terminal, de hecho hay
máquinas sin entorno gráfico. Siendo una aplicación gráfica, debes
tener entorno gráfico configurado (OBVIO).

Dicho ésto: APORTA ALGO DE INFO. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [OT] software liquidaci ón de sueldos.

2008-10-26 Thread David Sastre
On Sat, Oct 25, 2008 at 08:47:02AM -0700, Alfredo Balmaceda wrote:
 Conocerá algún integrante de la lista, de la existencia de algún soft para 
 liquidación de sueldos para usar en Debian.
 Vimos algo en google y en sourceforge, igual me pareció hacer la consulta 
 respectiva a la lista.

Hola. He buscado en google linux+nómina y aparecen unas 270.000
entradas. De la primera:

http://meneame.net/story/fin-programa-para-realizar-nominas-gnulinux

En esta página se puede adquirir el programa que mucha gente
necesitaba para poder usar software libre en una Pyme, un programa de
gestión de nóminas incluido en el completo paquete de gestión ofrecido
por la Junta de Extremadura, aún está en versión 1.00 pero los
profesores de contabilidad a los que se los he instalado han quedado
muy satisfechos. Todo el paquete puede descargarse por partes, ser
instalado directamente en la distribución LinexPyme o instalado
mediante los tutoriales de los foros (para evitar problemas con
librerías).

El programa en cuestión se llama facturlinex. Imagino que pertenece a
Guadalinex (por lo de la Junta de Extremadura...) y puede obtenerse
en:

http://www.gnulinex.net/softliberado/facturlinex.php

Espero que sea lo que buscas.

Suerte.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Probando envío desde mutt

2008-10-25 Thread David Sastre
Hola gente,

Tras intentar (tonto de mí) buscar cómo se configuraba gmail
para evitar inclumplir las normas de esta lista (envíos html, 
supresión del hilo, ...) y tras un breve STFW, he dado con
ésto:

http://wiki.debian.org/Peticiones_a_Gmail

Vaya tela..

En fin, que me aplico el cuento. :)

Yo ya leía mi correo usando mutt. Me faltaba configurar el envío
correctamente. Bueno, ya está hecho y este correo debería llegar
a la lista correctamente.
Aprovecho para ofrecerme a quien necesite indicaciones para 
hacer lo propio.

Gracias.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[OT] Envío desde mutt falla

2008-10-25 Thread david sastre
Hola gente,

Estoy intentando descubrir por qué no llegan mis envíos desde mutt.
En principio, todo parece estar bien configurado. Los correos me pasan
a la bandeja /sent, y el log de msmtp me muestra un envío correcto:

oct 25 20:17:54 host=smtp.gmail.com tls=on auth=on
user=d.sastre.medina [EMAIL PROTECTED]
[EMAIL PROTECTED] mailsize=943
exitcode=EX_OK

¿Alguien me da un empujoncito en la dirección correcta?

Gracias.

P.D. Hasta que no apañe ésto, seguiré incumpliendo las normas :(

http://wiki.debian.org/Peticiones_a_Gmail


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Enví o desde mutt falla

2008-10-25 Thread David Sastre
On Sat, Oct 25, 2008 at 08:35:04PM +0200, david sastre wrote:
 Hola gente,
 
 Estoy intentando descubrir por qué no llegan mis envíos desde mutt.
 En principio, todo parece estar bien configurado. Los correos me pasan
 a la bandeja /sent, y el log de msmtp me muestra un envío correcto:
 
 oct 25 20:17:54 host=smtp.gmail.com tls=on auth=on
 user=d.sastre.medina [EMAIL PROTECTED]
 [EMAIL PROTECTED] mailsize=943
 exitcode=EX_OK
 
 ¿Alguien me da un empujoncito en la dirección correcta?
 
 Gracias.
 
 P.D. Hasta que no apañe ésto, seguiré incumpliendo las normas :(
 
 http://wiki.debian.org/Peticiones_a_Gmail


Valee

# apt-get paciencia

LOL


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Probando enví o desde mutt

2008-10-25 Thread David Sastre
On Sat, Oct 25, 2008 at 04:30:19PM -0200, Alberto Vicat wrote:
 David Sastre escribió:
 Hola gente,

 Tras intentar (tonto de mí) buscar cómo se configuraba gmail
 para evitar inclumplir las normas de esta lista (envíos html,  
 supresión del hilo, ...) y tras un breve STFW, he dado con
 ésto:

 http://wiki.debian.org/Peticiones_a_Gmail

 Vaya tela..

 En fin, que me aplico el cuento. :)

 Yo ya leía mi correo usando mutt. Me faltaba configurar el envío
 correctamente. Bueno, ya está hecho y este correo debería llegar
 a la lista correctamente.
 Aprovecho para ofrecerme a quien necesite indicaciones para hacer lo 
 propio.

 Gracias.

 Casi nunca entro a Gmail, una vez al mes a lo sumo. Cuando la cuenta era  
 nueva tenía que hacerlo una vez por semana para rescatar de su carpeta  
 Spam mensajes de listas de correo que por pura paranoia Gmail los  
 acusaba de spam.
 Pero a fuerza de darle al botoncito No es spam parece que finalmente  
 se convenció y ya es muy raro que lo haga.

 Normalmente manejo mi correo con Thunderbird sin visitar el sitio. Y lo  
 encuentro muy sencillo.
 Seguramente en tu instalación tenés la versión Debian de Thunderbird,  
 llamada IceDove. Te sugiero que lo pruebes aunque sea unos días.

 Saludos


Muchas gracias, lo conozco. En la máquina que usan las demás personas
aquí en casa, utilizan Icedove y Iceweasel en el Debian que instalé
para sustituir su XP, y están muy contentas.
Es que me gusta mutt...

:)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Herramientas de Seguridad

2008-10-25 Thread David Sastre
On Sat, Oct 25, 2008 at 11:10:04PM +0200, Jose Manuel Colon wrote:
 Ya, pero necesito cosas específicas, no ir buscando entre iles de paquetes.
 
 Un saludo.
 
 El 25 de octubre de 2008 23:04, Alberto Vicat [EMAIL PROTECTED]escribió:
 
  Jose Manuel Colon escribió:
 
  Buenas, me estaba planteando la posiblidad de hacer mi sistema Linux más
  seguro y por ello estaba pensando en utilizar herramientas de seguridad, 
  que
  supongo que habrá. Pero no las conozco de primera mano y no sé por dónde
  buscar, ¿alguien me puede dar alguna indicación? Firewall tengo, lo que
  quiero es saber qué paquetes me pueden ayudar a aumentar mi seguridad.
 
  Muchísimas gracias.
 
 
  Si usás Synaptic hacele mostrar por categorías con los botones de abajo.
 
 Ya, pero necesito cosas específicas, no ir buscando entre iles de
 paquetes.


Hola. Puedes empezar con ettercap, nmap, nessus... Podrás escanear tus
puertos abiertos y simular ataques. Ponte de los dos lados y evalúa
riesgos. La gente que controle mas iptables podrá ayudarte a definir
políticas.

Suerte.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Herramientas de Seguridad

2008-10-25 Thread David Sastre
On Sun, Oct 26, 2008 at 12:31:01AM +0200, David Sastre wrote:
  
  El 25 de octubre de 2008 23:04, Alberto Vicat [EMAIL PROTECTED]escribió:
  
   Jose Manuel Colon escribió:
  
   Buenas, me estaba planteando la posiblidad de hacer mi sistema Linux más
   seguro y por ello estaba pensando en utilizar herramientas de seguridad, 
   que
   supongo que habrá. Pero no las conozco de primera mano y no sé por dónde
   buscar, ¿alguien me puede dar alguna indicación? Firewall tengo, lo que
   quiero es saber qué paquetes me pueden ayudar a aumentar mi seguridad.
  
   Muchísimas gracias.
  
  
   Si usás Synaptic hacele mostrar por categorías con los botones de abajo.
  
  Ya, pero necesito cosas específicas, no ir buscando entre iles de
  paquetes.
 
 
 Hola. Puedes empezar con ettercap, nmap, nessus... Podrás escanear tus
 puertos abiertos y simular ataques. Ponte de los dos lados y evalúa
 riesgos. La gente que controle mas iptables podrá ayudarte a definir
 políticas.
 
 Suerte.

Ah, y luego tienes las herramientas de detección intrusión (aide) y cosas 
como chkrootkit, selinux...

Un simple 'apt-cache search security' va a darte muchos resultados para
ir empezando.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Una maravillosa entrevista de una maravillosa mujer Debian

2008-10-21 Thread david sastre
Hola a todos, hola a todas.

He preferido mantenerme al margen de ésta y otras discusiones que
me han parecido inútiles y destructivas, aprovechando lo bueno que
tiene (mucho) esta lista, en la que me siento muy cómodo y desde la
que me han ayudado siempre. Trato de hacer mis pequeños aportes,
siempre desde mi nivel de desarrollo y mis capacidades técnicas. Yo
mismo soy la prueba de que el método autodidacta y las buenas
compañías (como la vuestra) son suficientes si se quiere aprender a
manejar Debian (la profundidad, complejidad, interés, dedicación, etc
de cada quien supongo que estará en función de mil aspectos
distintos).
Sin embargo, creo que debería considerarse netiqueta evitar el uso
de lenguaje malsonante al usar esta lista. Es como llegar a un sitio y
que esté sucio. No creo que implique renunciar a nada de la
personalidad, ni de las convicciones, ni de las prácticas de cada
quien.
Por supuesto que este proyecto implica no sólo un SO sino también
todo el aparato social que lo desarrolla, e incluso me atrevo a decir
que implica prácticas de cooperación que excluyen (al menos
formalmente) otro tipo de formas de trabajar basadas en la
competitividad (quizá ese sería un tema muy bello de tratar más en
profundidad).
   Queridos y queridas: NECESITO que esta lista se mantenga operativa,
limpia, creativa, combativa, amable, inteligente.Es decir, DEBIAN.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Actualizar Debian desde 2.4.x

2008-10-14 Thread david sastre
El día 13 de octubre de 2008 17:11, Odair Augusto Trujillo
[EMAIL PROTECTED] escribió:

 2008/10/13 Mauro Lizaur [EMAIL PROTECTED]

 On Mon, 13 Oct 2008, david sastre wrote:
 
  Me consta que se designa stable a la última versión congelada, por
  eso (quizá no quedase claro) la pregunta era más bien si sería
  prudente actualizar el repositorio desde algo tan antiguo a la actual
  stable, esto es, Etch.
 
  Entiendo que es recomendable ir paso a paso y subir a Sarge, y luego a
  Etch; lo que me plantea dudas es el orden a seguir (actualizar repos,
  paquetes, kernel).
 

 primero deberias actualizar los repositorios:
 # sed -i -e 's/stable/sarge/g' /etc/apt/sources.list
 # apt-get update

 una vez hecho eso, upgradear a sarge:
 # apt-get dist-upgrade

 una vez terminada la instalacion de sarge con el nuevo kernel y todo eso
 reinicias con el nuevo kernel de sarge.
 y repetis lo mismo, pero con en el sources.list cambias 'sarge' por
 'etch'.
 y una vez terminado, te diria (si queres) que cambies 'etch' por 'stable'
 nuevamente en tu sources.list, ya que ahora no deberia haber mayores
 problemas.

 Saludos

 Yo a eso le veo mucho trabajo y  mucho riesgo, esta máquina virtual parece
 ser un servidor, yo optaría por hacer un levantamiento de funcionalidades y
 requerimientos del servidor, con eso y teniendo los servicios que corre,
 recataría los archivos de configuración, obtendría nuevas versiones de estos
 archivos de configuración, de otra máquina con instalación nueva (puede ser
 virtual), compararía las diferencias, adaptaría los nuevos archivos de
 configuración actual a los requerimientos ya mencionados y teniendo el
 backup de los archivos personales, haría una instalación nueva en esa misma
 VM con debian lenny. Incluso actualizaría la VM si se pudiera, incluso me
 cambiaría a VirtualBox si se puediera.

 Lo demás de actualizarse desde woody incluso a sarge ya te trae una serie de
 problemas que te quitarán mas tiempo que lo que he propuesto, quedando no
 muy bien las cosas comparado con el método que menciono. Salvo que lo que
 pretendes sea por ejercicio me parce muy bien saber como quedan las cosas.

 Entonces como estás trabajando virtualizado puedes dedicar tiempo a adaptar
 los archivos de configuración y probar que la mayoría de cosas funcioenen.
 --

Efectivamente, reinstalar el SO pasando directamente a Lenny sería
perfecto (lo de prescindir de VMWare no depende de mí), pero perdería
la oportunidad de experimentar una transición así, teniendo que
enfrentar todas las dificultades que aparezcan en el proceso. En fin,
como tampoco dispongo de tiempo infinito, haré unas pruebas, y si se
pone muy difícil, tendré que reinstalar. Gracias por los comentarios a
todos.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



  1   2   >