Re: nagios

2018-03-06 Thread emmanuel segura
show us your nagios host definition

2018-03-06 14:26 GMT+01:00 Gokan Atmaca :

> > Been a while since I've dealt with nagios, but don't you have to restart
> > / reload it in order for it to read teh config files again?
>
> hello
>
> I restarted and reloaded. Nothing changed.
>
> thanks.
>
> On Tue, Mar 6, 2018 at 2:40 PM, Dan Purgert  wrote:
> > Gokan Atmaca wrote:
> >> hello
> >>
> >> I added 5 servers to Nagios. When I add the sixth, I can not see it in
> >> the web interface. But when I check it, it seems to exist. What would
> >> be the reason ?
> >
> > Been a while since I've dealt with nagios, but don't you have to restart
> > / reload it in order for it to read teh config files again?
> >
> >
> > --
> > |_|O|_| Registered Linux user #585947
> > |_|_|O| Github: https://github.com/dpurgert
> > |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281
> >
>
>


-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^


Re: Mounting a Windows Share

2016-01-17 Thread emmanuel segura
Sorry,

The problem was solved using sec=ntlm

2016-01-17 11:26 GMT+01:00 Nemeth Gyorgy :
> 2016-01-17 00:48 keltezéssel, Steve Matzura írta:
>>> modprobe cifs maybe can help you.
>>
>> What is supposed to happen when I enter that command? All I got was
>> another shell prompt.
>
> After modprobe try mount again
>
>
> --
> --- Friczy ---
> 'Death is not a bug, it's a feature'
>



-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^



Re: Mounting a Windows Share

2016-01-16 Thread emmanuel segura
modprobe cifs maybe can help you.

2016-01-16 22:02 GMT+01:00 Steve Matzura :
> After a reboot, one of my shares will no longer mount. And of course,
> it's the big one, the NAS box. Here is output from `strace mount.cifs
> //DISKSTATION1/BigVol1 /mnt/bigvol1 -o
> vers=2.1,username=***,password=*** (*** is real username and password
> covered up):
>
>
> execve("/sbin/mount.cifs", ["mount.cifs", "//DISKSTATION1/BigVol1",
> "/mnt/bigvol1", "-o", "vers=2.1,username=***,password"...], [/* 15
> vars */]) = 0
> brk(0)  = 0x7f98fbf17000
> access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
> directory)
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x7f98fa212000
> access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
> fstat(3, {st_mode=S_IFREG|0644, st_size=27175, ...}) = 0
> mmap(NULL, 27175, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f98fa20b000
> close(3)= 0
> access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/x86_64-linux-gnu/libcap-ng.so.0", O_RDONLY|O_CLOEXEC) =
> 3
> read(3,
> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\25\0\0\0\0\0\0"...,
> 832) = 832
> fstat(3, {st_mode=S_IFREG|0644, st_size=22312, ...}) = 0
> mmap(NULL, 2117648, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
> 0) = 0x7f98f9be3000
> mprotect(0x7f98f9be7000, 2097152, PROT_NONE) = 0
> mmap(0x7f98f9de7000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7f98f9de7000
> close(3)= 0
> access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or
> directory)
> open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
> read(3,
> "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\34\2\0\0\0\0\0"...,
> 832) = 832
> fstat(3, {st_mode=S_IFREG|0755, st_size=1729984, ...}) = 0
> mmap(NULL, 3836448, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
> 0) = 0x7f98f983a000
> mprotect(0x7f98f99d9000, 2097152, PROT_NONE) = 0
> mmap(0x7f98f9bd9000, 24576, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19f000) = 0x7f98f9bd9000
> mmap(0x7f98f9bdf000, 14880, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f98f9bdf000
> close(3)= 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x7f98fa20a000
> mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x7f98fa208000
> arch_prctl(ARCH_SET_FS, 0x7f98fa208740) = 0
> mprotect(0x7f98f9bd9000, 16384, PROT_READ) = 0
> mprotect(0x7f98f9de7000, 4096, PROT_READ) = 0
> mprotect(0x7f98fa214000, 4096, PROT_READ) = 0
> mprotect(0x7f98fa009000, 4096, PROT_READ) = 0
> munmap(0x7f98fa20b000, 27175)   = 0
> geteuid()   = 0
> getpid()= 1580
> capget({0 /* _LINUX_CAPABILITY_VERSION_??? */, 0}, NULL) = 0
> gettid()= 1580
> open("/proc/sys/kernel/cap_last_cap", O_RDONLY) = 3
> read(3, "37\n", 7)  = 3
> brk(0)  = 0x7f98fbf17000
> brk(0x7f98fbf38000) = 0x7f98fbf38000
> capget({_LINUX_CAPABILITY_VERSION_3, 1580},
> {CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_admin|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP,
> CAP_CHOWN|CAP_DAC_OVERRIDE|CAP_DAC_READ_SEARCH|CAP_FOWNER|CAP_FSETID|CAP_KILL|CAP_SETGID|CAP_SETUID|CAP_SETPCAP|CAP_LINUX_IMMUTABLE|CAP_NET_BIND_SERVICE|CAP_NET_BROADCAST|CAP_NET_ADMIN|CAP_NET_RAW|CAP_IPC_LOCK|CAP_IPC_OWNER|CAP_SYS_MODULE|CAP_SYS_RAWIO|CAP_SYS_CHROOT|CAP_SYS_PTRACE|CAP_SYS_PACCT|CAP_SYS_ADMIN|CAP_SYS_BOOT|CAP_SYS_NICE|CAP_SYS_RESOURCE|CAP_SYS_TIME|CAP_SYS_TTY_CONFIG|CAP_MKNOD|CAP_LEASE|CAP_AUDIT_WRITE|CAP_AUDIT_CONTROL|CAP_SETFCAP,
> 0}) = 0
> open("/proc/1580/status", O_RDONLY|O_CLOEXEC) = 4
> fstat(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
> mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0x7f98fa211000
> read(4, "Name:\tmount.cifs\nState:\tR (runni"..., 1024) = 783
> close(4)= 0
> munmap(0x7f98fa211000, 4096)= 0
> prctl(PR_CAPBSET_DROP, 0, 0, 0, 0)  = 0
> prctl(PR_CAPBSET_DROP, 0x1, 0, 0, 0)= 0
> prctl(PR_CAPBSET_DROP, 0x2, 0, 0, 0)= 0
> prctl(PR_CAPBSET_DROP, 0x3, 0, 0, 0)= 0
> prctl(PR_CAPBSET_DROP, 0x4, 0, 0, 0)= 0
> prctl(PR_CAPBSET_DROP, 0x5, 0, 0, 0)= 0
> prctl(PR_CAPBSET_DROP, 0x6, 0, 0, 0)= 0
> 

Re: /bin/perl vs. /usr/bin/perl

2014-11-02 Thread emmanuel segura
#! /usr/bin/env perl

use warnings;


2014-11-01 17:58 GMT+01:00 Jonathan Dowland j...@debian.org:

 On 1 Nov 2014 15:30, Martin Read zen75...@zen.co.uk wrote:

 On 01/11/14 14:52, lee wrote:
  what's the proposed Debian way to deal with a different location of the
  'perl' executable?

 #! /usr/bin/env perl

 The trouble with this is perl -w doesn't work.

 ... but I thought that on Fedora, /bin was turned into a symlink to
 /usr/bin in F17, so unless you've got some pre-F17 Fedora systems to
 care about, /usr/bin/perl should be fine on Fedora.

 I think you're right, /usr/bin/perl should work just about everywhere.



-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAE7pJ3BqYO6NAOkdGZtHSMUA5=dyxxa8v3ru2na3v+ax-w8...@mail.gmail.com



Re: Samba group problem

2014-09-24 Thread emmanuel segura
maybe your commands are wrong:

for example:
mkdir -p /fileserver/sales
useradd -m sample-u1
usermod sample-u1 -G sales  you need to create the group before
smbpasswd -a sample-u1
groupadd sales # FIX ##
chgrp -R sales /fileserver/sales

2014-09-24 17:06 GMT+02:00 Gokan Atmaca linux.go...@gmail.com:
 hello

 How can I give permissions based on the groups SAMBA. ?

 for example:
 mkdir -p /fileserver/sales
 useradd -m sample-u1
 usermod sample-u1 -G sales
 smbpasswd -a sample-u1
 groupadd sales
 chgrp -R sales /fileserver/sales


 Smb.conf;

 [sales]
 comment = sales
 browseable = yes
 path = /fileserver/sales
 valid users = @sales
 force users = @sales
 force group = @sales
 write list = @sales
 writable = Yes
 readonly = No
 create mode = 0770
 directory mode = 0770


 Thanks for the reply. As I am getting an error.
 group name could not be found

 error jpeg;
 http://i.hizliresim.com/78VLlW.jpg

 in addition OS:
  root@debian:/etc/samba# cat /etc/*-release
 PRETTY_NAME=Debian GNU/Linux 7 (wheezy)
 NAME=Debian GNU/Linux
 VERSION_ID=7
 VERSION=7 (wheezy)
 ID=debian
 ANSI_COLOR=1;31
 HOME_URL=http://www.debian.org/;
 SUPPORT_URL=http://www.debian.org/support/;
 BUG_REPORT_URL=http://bugs.debian.org/;

 Smb.conf;

 Please Check here;
 http://paste.debian.net/120811/


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 https://lists.debian.org/CAHg8tEA2fijBX8hGBKdT3NTPr8LG4GEj=6pZo4c71QV8X=v...@mail.gmail.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAE7pJ3Cw_ReGfWqqJ4kcg=jzvulppa0fuff04uakj63stv7...@mail.gmail.com



Re: Domanda su systemd

2014-08-28 Thread emmanuel segura
Ciao a tutti,

Aggiungo qualcosa anchio, anche se penso che il mio contributo non
sara molto utile, comunque leggendo il link che stato postato prima,
nel quale si parla del fatto che si possono avere problemi, non usando
la /usr su una partizione separata, posso chiaramente smentire, adesso
in questo momento sto usando centos 7 con il seguente partizionamento,
e posso dire che non vedo nessun problema



[X@localhost ~]$ df -h
Filesystem  Size  Used Avail Use% Mounted on
/dev/sda814G  5.2G  7.9G  40% /
devtmpfs1.9G 0  1.9G   0% /dev
tmpfs   1.9G  904K  1.9G   1% /dev/shm
tmpfs   1.9G  9.2M  1.9G   1% /run
tmpfs   1.9G 0  1.9G   0% /sys/fs/cgroup
tmpfs   1.9G  1.4M  1.9G   1% /tmp
/dev/sda6   180M  123M   44M  74% /boot
/dev/sda9   173G   43G  121G  26% /home



Quindi la /usr è sotto la root




Il 28 agosto 2014 10:49, Gian Uberto Lauri sa...@eng.it ha scritto:
 Davide Prina writes:
   On 27/08/2014 16:35, Gian Uberto Lauri wrote:
  
Posso dire una cosa? Il processo che gestisce l'avvio di un sistema
che dipende da un file in /usr?
  
   http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken/

 Freedesktop.org is broken. Ma da anni. Ma ci andate ancora dietro come
 pecorelle? Ma usare quella roba grigia che arriva nella dotazione
 standard tra le vostre orecchie?

 Tempo fa, uno che si presentava in modo poco poco credibile descrisse
 un prototipo di virus che sfruttava caratteristiche «discutibili» dei
 file .desktop. Questo virus era quanto mai goffo e vulnerabile, ma
 c'era. E se quelli di freedesktop hanno perseverato nel non voler
 chiudere la porta, quella è ancora lì ed aspetta di essere usata.

 Credo che precederanno la Società Cibnernetica di Sirio quando
 arriverà la rivoluzione.

 --
  /\   ___Ubuntu: ancient
 /___/\_|_|\_|__|___Gian Uberto Lauri_   African word
   //--\| | \|  |   Integralista GNUslamicomeaning I can
 \/ coltivatore diretto di software   not install
  già sistemista a tempo (altrui) perso...Debian

 Warning: gnome-config-daemon considered more dangerous than GOTO


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/21502.60717.621169.491...@mail.eng.it




-- 
esta es mi vida e me la vivo hasta que dios quiera


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAE7pJ3Dcn1B=KWDovd+H9D8WAHywejiBj=hkp-r_7uysypo...@mail.gmail.com



Re: writing to /dev/stdout fails in cron script

2014-08-22 Thread emmanuel segura
Maybe, because crond is running as root, try put this lines in your script


ls -l /proc/self/fd/1
ls -l /dev/stdout

please, you can tell us, how you scheduled the script in crond?

Thanks

2014-08-22 11:23 GMT+02:00 Tony van der Hoff t...@vanderhoff.org:
 Hi,

 Running up-to-date Wheezy.

 I have a script, simplified like this:

 -
 #!/bin/bash
 DEBUG=1

 OUT=/dev/null

 if [ $DEBUG -ne 0 ]; then
 OUT=/dev/stdout
 fi

 echo hello  $OUT
 -

 This works fine when invoked from the command line, but when called as a
 cron task, same user, it fails with
 /home/tony/scripts/test: line 10: /dev/stdout: Permission denied

 Any suggestions on how to fix this, please?
 --
 Tony van der Hoff  | mailto:t...@vanderhoff.org
 Ariège, France |


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/53f70c19.2020...@vanderhoff.org




-- 
esta es mi vida e me la vivo hasta que dios quiera


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cae7pj3dthdgurdqweye_x+z+8lwfkvjrk_yytxkwznsebgp...@mail.gmail.com



Re: postgresql doesn't start at boot

2014-08-06 Thread emmanuel segura
Have you try systemctl enable postgresql.service ?

2014-08-06 16:58 GMT+02:00 B lazyvi...@gmx.com:
 sid
 amd64
 

 Hi mailing-listers,

 since the upgrade from 9.3 to 9.4, postgresql doesn't automatically start
 at boot anymore.
 I added a symlink to /lib/systemd/system/postgresql.service
 into /etc/systemd/system but I'm not sure this will be enough; is it?
 (3.5 pages of looong mans listed, options in every corner, systemd seems
 to have the art of transforming something formerly trivial to an
 indigestible gas plant).


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/20140806165853.23afdf08@msi.defcon1




-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAE7pJ3D5uwCm4fq-h9MNaVzxvWGHi=CG=ifqmo1hcipp5ej...@mail.gmail.com



Re: postgresql doesn't start at boot

2014-08-06 Thread emmanuel segura
Maybe the link was created in a wrong directory




2014-08-06 17:34 GMT+02:00 Michael Biebl em...@michaelbiebl.de:


 On 6. August 2014 17:17:22 MESZ, B lazyvi...@gmx.com wrote:
On Wed, 6 Aug 2014 17:07:56 +0200
emmanuel segura emi2f...@gmail.com wrote:

 Have you try systemctl enable postgresql.service ?

Done (and quite different from a symlink:(

 Funny, because all systemctl enable does is create a symlink


As I'm working, I'll test it tonight; thanks.

 --
 Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 https://lists.debian.org/9c5d199d-32ef-465a-9f54-6ef8a5911...@email.android.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAE7pJ3DkkfdW6WzwQSFKtZ79XR_caNrgNKQkwAdaSxaS=kr...@mail.gmail.com



Re: NFS Client

2014-07-25 Thread emmanuel segura
I think that nfs ins't a block or character divece, but a network filesystem

2014-07-25 18:19 GMT+02:00 Minesh Parmar parmarmin...@ymail.com:
 I am running Debain Kernel Version 3.2.0-0.bpo.4-amd64 and system is
 expecting very large number of NFS Mount point.

 Here is my question...
How I can find minor and major number for FileSystem Type NFS.
   I dont see nfs under /dev.

 Is there any program that I can run which will show me minor and major
 number for give filesystem type?

 Thanks
 Minesh




-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cae7pj3dqbptu+igtu8smnyqstvqkfkqjdpjogxwemqmzmg2...@mail.gmail.com



Re: Fools rush in where Angels fear to tread: systemd

2014-07-06 Thread emmanuel segura
if you are using grub2
http://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter

2014-07-06 16:19 GMT+02:00 Paul E Condon pecon...@mesanetworks.net:
 I am a foolish user of Wheezy. I want to see for myself
 what will happen if I switch to systemd today. I find on
 wiki.debian.org/systemd a document with steps needed to
 install and test systemd, but I have trouble:
 After using apt-get to install the systemd package the
 next step is (verbatim):

 To test systemd before switching to it by default, you can add the following 
 boot parameter to the kernel:

 init=/bin/systemd
 (end verbatim)

 How do I add this parameter to the kernel? I think I must open some
 file somewhere, probably in /etc and edit it with vim or emacs
 (hopefully my choise) and I should place this string correctly within
 that file:

 What file (full path) ?
 What position within the file?

 I think I might be able to guess the position, once I know the path to
 the file, and can read its pre-existing content, but I am not such a
 fool as to assume that the position will be obvious to a fool.

 Thanks and
 best hopes for
 systemd. ;-/

 --
 Paul E Condon
 pecon...@mesanetworks.net


 - End forwarded message -

 --
 Paul E Condon
 pecon...@mesanetworks.net


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/20140706141905.ga1...@big.lan.gnu




-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cae7pj3cvtsu-90jsnn7xel6_b4f5pxzvbbsbnjtecunsags...@mail.gmail.com



Re: OT: install-grub in Solaris x86 (was: GRUB2)

2014-06-09 Thread emmanuel segura
bash-4.1$ cat /etc/release
  Oracle Solaris 11 11/11 SPARC
  Copyright (c) 1983, 2011, Oracle and/or its affiliates.  All rights reserved.
Assembled 18 October 2011

man bootadm, i think bootadm uses grub underneath,
   The set-menu subcommand allows you to switch  the  auto-boot
 timeout and default boot entry in the GRUB menu.

   The add-entry,  change-entry  and  remove-entry  subcommands
 provide  options to add, change, or remove an entry from the
 GRUB menu.

bootadm for me is an other oracle toy on solaris 11


2014-06-09 7:47 GMT+02:00 Reco recovery...@gmail.com:
 On Sun, 8 Jun 2014 22:41:53 +0200
 emmanuel segura emi2f...@gmail.com wrote:

 that was typo, if you read the link you can see the command is
 /sbin/installgrub and i don't think solaris x86 doesn't uses grub1.

 Aha. So it's now installgrub, not install-grub. Ok. Man page is
 crystal clear on that:

  The installgrub command is an x86-only program. GRUB  stands
  for  GRand Unified Bootloader. installgrub is deprecated, as
  it applies to the GRUB Legacy boot  loader,  which  was  the
  boot  loader  present in Oracle Solaris 11 11/11 and earlier
  revisions. To install the boot loader, see  the  bootadm(1M)
  install-bootloader subcommand.

 PS Please do not top post.

 Reco


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 https://lists.debian.org/20140609094724.293431ef5cd67c20df750...@gmail.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAE7pJ3AwU1fAzYsQN-Mh_7=zK1=dq5uqfp4b5zqjvrq+d2t...@mail.gmail.com



Re: OT: install-grub in Solaris x86 (was: GRUB2)

2014-06-09 Thread emmanuel segura
3) i know solaris on sparc doesn't use grub, i just used that system
for use the man bootadm command

maybe you understand what you want, we can end this conversation

2014-06-09 10:08 GMT+02:00 Reco recovery...@gmail.com:
 Hi.

 On Mon, Jun 09, 2014 at 08:49:51AM +0200, emmanuel segura wrote:
 bash-4.1$ cat /etc/release
   Oracle Solaris 11 11/11 SPARC
   Copyright (c) 1983, 2011, Oracle and/or its affiliates.  All rights 
 reserved.
 Assembled 18 October 2011

 man bootadm, i think bootadm uses grub underneath,
The set-menu subcommand allows you to switch  the  auto-boot
  timeout and default boot entry in the GRUB menu.

The add-entry,  change-entry  and  remove-entry  subcommands
  provide  options to add, change, or remove an entry from the
  GRUB menu.

 bootadm for me is an other oracle toy on solaris 11


 1) No need to CC me, I'm subscribed to the list.

 2) Please do not top-post.

 3) Solaris SPARC uses OpenBoot, not GRUB. Please read appropriate
 documentation.

 4) I don't beleive that any further conversation on this topic would get
 discussion anywhere.

 Reco


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/20140609080829.gb20...@d1696.int.rdtex.ru




-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAE7pJ3ANBfRjL63cvd4dbaLNyiicV8Au8u8AnjxJ=mx19ar...@mail.gmail.com



Re: OT: install-grub in Solaris x86 (was: GRUB2)

2014-06-08 Thread emmanuel segura
that was typo, if you read the link you can see the command is
/sbin/installgrub and i don't think solaris x86 doesn't uses grub1.

2014-06-08 22:13 GMT+02:00 Reco recovery...@gmail.com:
 On Sat, 7 Jun 2014 11:35:29 +0200
 emmanuel segura emi2f...@gmail.com wrote:

 http://docs.oracle.com/cd/E19253-01/817-5093/disksxadd-45774/index.html

 Sigh. Why do you bother yourself with such ancient thing? Real Solaris
 11 doesn't use Grub1 anymore:

 # uname -a
 SunOS xxx 5.11 11.1 i86pc i386 i86pc
 # which install-grub
 no install-grub in /usr/sbin /usr/bin
 # pkg search install-grub
 #

 Reco


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: 
 https://lists.debian.org/20140609001328.43df2a2280b635bfa8ec7...@gmail.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cae7pj3d-zmi01kofimzk4u1f_e+e4mx8+wjnqmophj4a71m...@mail.gmail.com



Re: GRUB2

2014-06-07 Thread emmanuel segura
install-grub is used on solaris x86

2014-06-07 10:45 GMT+02:00 Curt cu...@free.fr:
 On 2014-06-07, Man_Without_Clue love.cha...@gmail.com wrote:

 I understand I should re-install GRUB from Debian side.

 Now, how do I do that?

 install-grub command doesn't work.

 How do I install grub?


 Right.  The command is grub-install (these small matters of syntax
 matter because our 'puters are so dense and cannot guess what you
 really mean).

 You must be root (or sincere, I forget).


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/slrnlp5k6k.22h.cu...@einstein.electron.org




-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cae7pj3azmcfvsmf_b4to-0qts-tweqnuezrncqfxrdvqkgt...@mail.gmail.com



Re: GRUB2

2014-06-07 Thread emmanuel segura
http://docs.oracle.com/cd/E19253-01/817-5093/disksxadd-45774/index.html

2014-06-07 11:34 GMT+02:00 emmanuel segura emi2f...@gmail.com:
 install-grub is used on solaris x86

 2014-06-07 10:45 GMT+02:00 Curt cu...@free.fr:
 On 2014-06-07, Man_Without_Clue love.cha...@gmail.com wrote:

 I understand I should re-install GRUB from Debian side.

 Now, how do I do that?

 install-grub command doesn't work.

 How do I install grub?


 Right.  The command is grub-install (these small matters of syntax
 matter because our 'puters are so dense and cannot guess what you
 really mean).

 You must be root (or sincere, I forget).


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/slrnlp5k6k.22h.cu...@einstein.electron.org




 --
 esta es mi vida e me la vivo hasta que dios quiera



-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAE7pJ3CHvaWmZ7x5p3ncVjk=5Tub8KSb+zCRLiXR7=y8zp+...@mail.gmail.com



Re: Resizing LVM issue

2014-06-01 Thread emmanuel segura
from man resize2fs

   If you wish to shrink an ext2 partition, first use resize2fs to
shrink the size of filesystem.  Then you may use fdisk(8) to shrink the
size of the partition.  When
   shrinking the size of the partition, make sure you do not make it
smaller than the new size of the ext2 filesystem!

i think the correct steps are:

resize2fs /dev/mapper/localhost-home -2G
lvresize --size -2G /dev/mapper/localhost-home




2014-06-01 22:00 GMT+02:00 Miroslav Skoric sko...@eunet.rs:

 Hi,

 I have encrypted LVM on one of my Wheezy machines, and recently noticed
 that /tmp space was too low for one application (In fact it was about 350
 MB and I wanted it to be around 2.5 GB). So I tried to make /tmp space
 bigger while I was mounted and online, but vgdisplay reported no free space
 for that action (something like that):

 sys@localhost:~$ sudo vgdisplay
   --- Volume group ---
   VG Name   localhost
   System ID
   Formatlvm2
   Metadata Areas1
   Metadata Sequence No  9
   VG Access read/write
   VG Status resizable
   MAX LV0
   Cur LV6
   Open LV   6
   Max PV0
   Cur PV1
   Act PV1
   VG Size   297.85 GiB
   PE Size   4.00 MiB
   Total PE  76249
   Alloc PE / Size   76249 / 297.85 GiB
   Free  PE / Size   0 / 0
   VG UUID   fbCaw1-u3SN-2HCy-

 Then I decided to shrink /home for some 2 gig and to add to /tmp :

 sys@localhost:~$ sudo lvresize --size -2G /dev/mapper/localhost-home
 sys@localhost:~$ sudo lvresize --size +2G /dev/mapper/localhost-tmp

 According to df, it did so:

 sys@localhost:~$ df
 Filesystem 1K-blocks Used Available Use% Mounted on
 rootfs329233   219069 93166  71% /
 udev   102400 10240   0% /dev
 tmpfs 304560  756303804   1% /run
 /dev/mapper/localhost-root329233   219069 93166  71% /
 tmpfs   51200  5120   0% /run/lock
 tmpfs 609100   80609020   1% /run/shm
 /dev/sda1 23319131650189100  15% /boot
 /dev/mapper/localhost-home 289312040 11966292 262649508   5% /home
 /dev/mapper/localhost-tmp240831511231   2273129   1% /tmp
 /dev/mapper/localhost-usr8647944  5745732   2462916  70% /usr
 /dev/mapper/localhost-var2882592   916600   1819560  34% /var
 sys@localhost:~$

 It seems that /dev/mapper/localhost-tmp was about 2.4 GB so I wanted to
 resize newly changed filesystems:

 sys@localhost:~$ sudo resize2fs /dev/mapper/localhost-home
 resize2fs 1.42.5 (29-Jul-2012)
 Filesystem at /dev/mapper/localhost-home is mounted on /home; on-line
 resizing required
 resize2fs: On-line shrinking not supported

 Similar output was with e2fsck:

 sys@localhost:~$ sudo e2fsck -p /dev/mapper/localhost-home
 /dev/mapper/localhost-home is mounted.
 e2fsck: Cannot continue, aborting.


 sys@localhost:~$

 Obviously I should not have done that while being mounted (or did not know
 the proper syntax), however it did not complain with resize2fs
 /dev/mapper/localhost-tmp

 But after the next reboot, it stopped when tried to perform Checking file
 systems:

 /dev/mapper/localhost-home: The filesystem size (according to the
 superblock) is 73481216 blocks
 The physical size of the device is 72956928 blocks
 Either the superblock or the partition table is likely to be corrupt!

 /dev/mapper/localhost-home: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
  (i.e., without -a or -p options)

 Anyway, the other segments of the filesystem were clean, so by CONTROL-D
 it was possible to terminate the shell, so to resume system boot.

 My question is how to solve that inconsistency issue now? At first I tried
 with dumpe2fs in searching for backup superblocks, then with e2fsck -b
 one_of_those_backup_superblocks_from_the_list, but without resolution.
 I mean the inconsistency is not fixed. Probably I do not use e2fsck
 properly even when /home is not mounted. So the machine still keeps
 stopping during the boot at filesystem check, so I have to continue booting
 by pressing CONTROL-D.

 Any suggestion?


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
 subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: https://lists.debian.org/538b8663.8050...@eunet.rs




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: disk quota

2014-02-24 Thread emmanuel segura
yes


2014-02-22 22:32 GMT+01:00 Pol Hallen de...@fuckaround.org:

 Hi folks!

 Reading some howtos about quota disk I'm not sure about this topic
 (because is very old):

 checking quotas regularly - Linux doesn't check quota usage each time a
 file is opened, you have to force it to process the aquota.user and
 aquota.group files periodically with the quotacheck command.You can setup a
 cron job to run a script similar to the one below to achieve this

 so, I need remount fs without quota, do:

 quotaon -vaug

 e remount with quota?

 Can anyone that use disk quota confirm this thing?

 thanks for help!
 --
 Pol


 --
 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/53091753.6050...@fuckaround.org




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Best SFTP (w/chroot): vsftpd vs mysecureshell vs other ??

2014-01-04 Thread emmanuel segura
Match User user01
ChrootDirectory /home
ForceCommand internal-sftp
X11Forwarding no
AllowTcpForwarding no

Match User user02
ChrootDirectory /home
ForceCommand internal-sftp
X11Forwarding no
AllowTcpForwarding no

useradd -m user01  useradd -m user02

chmod 300 /home/user02

restart sshd daemon

[root@nod01 ~]# sftp user02@localhost
user02@localhost's password:
Connected to localhost.
sftp cd user02
sftp ls
remote readdir(/user02): Permission denied
sftp mkdir hello

In few words, the user user02  can only write and user user01 can write and
read


2014/1/4 Chris Davies ch...@roaima.co.uk

 Bob Goldberg bobg.h...@gmail.com wrote:
  trying to determine best solution for an SFTP server.

vsftpd appears to be my current best choice

 vsftpd is Very Secure FTP Daemon. It does FTP well (cleartext passwords
 notwithstanding). It doesn't do SFTP (file transfer over ssh).


  users must be chroot'ed to /home/chroot/home/username.
users belong to the chroot group.
their home dir down, need all be group owned by chmgr.
home dir down; should all be chmod 770(dir)/660(files). so user and
  managers (chmgr group) all have rw access to files, and rwx /dirs; with
  other having no rights at all.

  managers ideally chroot'ed to /home/chroot/home.
they can access all username folders, and transfer files in/out of
  each.
they belong to the chmgr group.

 Sounds exactly like a job for the Match directive within a standard
 sshd_config (openssh-server).

 Chris


 --
 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/ofhlpaxr2f@news.roaima.co.uk




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Run script for each ssh login

2013-11-13 Thread emmanuel segura
kill -9 $$


2013/11/13 Antonio Paiva arpa...@sci.utah.edu

 Hi everyone,

 I would like to set up an ssh server such that, everytime someone tries to
 connect to it, a script will be run to control certain aspects of the
 connection. More specifically, I want to check if certain conditions are
 met and, if they are not, refuse/abort the connection.

 I found that if a /etc/sshrc script exits, it will be run just before the
 user's shell or command is invoked. However, how can I write the script
 such that if the check fails, the ssh session is aborted? I'm told that if
 the script exits due to an error (say, a syntax error), the SSH session
 continues normally.

 I don't have to use the /etc/sshrc script. If you have an idea of an
 alternative approach that would achieve the same goal, please let me know.

 Thanks.
 Antonio




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Run script for each ssh login

2013-11-13 Thread emmanuel segura
sorry for the sort answer, why you don't use /etc/profile for archive what
you want?


2013/11/13 emmanuel segura emi2f...@gmail.com

 kill -9 $$


 2013/11/13 Antonio Paiva arpa...@sci.utah.edu

 Hi everyone,

 I would like to set up an ssh server such that, everytime someone tries
 to connect to it, a script will be run to control certain aspects of the
 connection. More specifically, I want to check if certain conditions are
 met and, if they are not, refuse/abort the connection.

 I found that if a /etc/sshrc script exits, it will be run just before the
 user's shell or command is invoked. However, how can I write the script
 such that if the check fails, the ssh session is aborted? I'm told that if
 the script exits due to an error (say, a syntax error), the SSH session
 continues normally.

 I don't have to use the /etc/sshrc script. If you have an idea of an
 alternative approach that would achieve the same goal, please let me know.

 Thanks.
 Antonio




 --
 esta es mi vida e me la vivo hasta que dios quiera




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Unknown script command ??

2013-10-31 Thread emmanuel segura
/usr/bin/perl


2013/10/31 John W. Foster jfoster81...@gmail.com

 This is causing a error on one of my servers during a file import.
 Likely being called by a script (that I didn't write).
 any Ideas?

 sh: /usr/bin/pl

 Thanks
 John


 --
 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/1383253066.31345.2.ca...@beast.johnwfoster.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: postfix

2013-10-21 Thread emmanuel segura
+1


2013/10/21 Jeremy T. Bouse jbo...@debian.org

 On 21.10.2013 07:56, Pol Hallen wrote:

 Hey all :-)

 I'm sorry for banal question but I didn't find any answer to my question.

 In the /etc/postfix/main.cf I see many parameters like:

 smtpd_sasl_auth_enable = yes

 but also:

 smtp_sasl_auth_enable = yes

 So, what is the difference of smtpd_parameter and smtp_parameter?
 (smtpd and smtp)

 Thanks for help

 Pol


 The smtpd_* prefixed commands are Server configurations where Postfix is
 operating as the server providing the service.

 The smtp_* prefixed commands are Client configurations where Postfix is
 operation as a client talking to another server.



 --
 To UNSUBSCRIBE, email to 
 debian-user-REQUEST@lists.**debian.orgdebian-user-requ...@lists.debian.orgwith
  a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/**3ab4f6b1d7d729a6cb221566a636a1**
 5...@undergrid.nethttp://lists.debian.org/3ab4f6b1d7d729a6cb221566a636a...@undergrid.net




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: network/bridging problems

2013-10-02 Thread emmanuel segura
How did you configured eth2? dhcp too? why you tap as bridge port intend of
eth2?


2013/10/2 Ross Boylan r...@biostat.ucsf.edu

 I setup bridging on my system for kvm, but on restart of the host system
 (no guest VM's running) could not ping outside my local network.

 Bringing the bridge down corrected the  problem, but I'm trying to
 understand what is going on, and how I can make networking from the VM's
 work.

 /etc/network/interfaces has (on the advice of a wiki page on Debian and
 kvm)
 auto br0
 iface br0 inet dhcp
pre-up ip tuntap add dev tap0 mode tap user root
pre-up ip link set tap0 up
bridge_ports all tap0
bridge_stp off
bridge_maxwait 0
bridge_fd  0
post-down ip link set tap0 down
post-down ip tuntap del dev tap0 mode tap

 My one connected interface, eth2, was brought up by hotplug with no
 mention in interfaces.

 Originally, with the system up, I added the br0 stanza to interfaces and
 did ifup br0.  This temporarily interrupted my network connections,
 which was not good, but they resumed afterwords.

 This time I restarted the system and found networking non-functional.  I
 could not ping my ISP's nameserver.
 # ip route
 default via 192.168.40.10 dev eth2  proto static
 192.168.40.0/24 dev br0  proto kernel  scope link  src 192.168.40.103
 192.168.40.0/24 dev eth2  proto kernel  scope link  src 192.168.40.102
 #  ifconfig
 Tue Oct  1 23:14:42 PDT 2013
 br0   Link encap:Ethernet  HWaddr 60:a4:4c:21:bc:9f
   inet addr:192.168.40.103  Bcast:192.168.40.255
 Mask:255.255.255.0
   inet6 addr: fe80::62a4:4cff:fe21:bc9f/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:896 errors:0 dropped:0 overruns:0 frame:0
   TX packets:434 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:100681 (98.3 KiB)  TX bytes:49358 (48.2 KiB)

 eth1  Link encap:Ethernet  HWaddr 60:a4:4c:21:bc:9f
   UP BROADCAST MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
   Interrupt:17 Memory:f060-f062

 eth2  Link encap:Ethernet  HWaddr 60:a4:4c:21:bc:a0
   inet addr:192.168.40.102  Bcast:192.168.40.255
 Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:990 errors:0 dropped:0 overruns:0 frame:0
   TX packets:604 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:145073 (141.6 KiB)  TX bytes:76668 (74.8 KiB)
   Interrupt:18 Memory:f050-f052

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:323 errors:0 dropped:0 overruns:0 frame:0
   TX packets:323 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:92559 (90.3 KiB)  TX bytes:92559 (90.3 KiB)

 tap0  Link encap:Ethernet  HWaddr ce:45:fc:e6:32:46
   UP BROADCAST MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:500
   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 which looked OK to me; that is, ip route seems to show external packets
 should go to eth2, which is the external interface, via the .10 address
 of the router.  But
 # ping 198.144.192.2
 PING 198.144.192.2 (198.144.192.2) 56(84) bytes of data.
 From 192.168.40.102 icmp_seq=1 Destination Host Unreachable

 One difference between the ifconfig above and what I saw before
 rebooting was that before rebooting eth2 had no IP (which seemed odd).

 ifdown br0 also brought eth2 down.  I added iface eth2 inet dhcp
 to /etc/network/interface and did ifup eth2; now I can reach the world
 and see
 # ip route
 default via 192.168.40.10 dev eth2  proto static
 192.168.40.0/24 dev eth2  proto kernel  scope link  src 192.168.40.102

 The operation of bridges and taps is mysterious to me, particularly the
 relation between the two, even after reviewing man pages and various
 other help.  I'd appreciate any guidance.

 Thanks.
 Ross Boylan


 --
 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/1380697545.7443.17.camel@localhost




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: apt-get installation of mysql and apachi in different directory.

2013-10-01 Thread emmanuel segura
you can use service chroot, but i think it can be more elegant if you use
openvz or lxc for confine services


2013/10/1 Muhammad Yousuf Khan sir...@gmail.com

 is there a way to install server side stuff like apachi and my sql in to
 different mount points or directories.

 Thanks,

 Myk




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: swapper tainted

2013-09-20 Thread emmanuel segura
lspci -vv


2013/9/20 Jim Green student.northwest...@gmail.com

 On Wed, Sep 18, 2013 at 10:51:35AM +0100, Darac Marjal wrote:
  Just before the error is the complaint
 
irq event 55: bogus return value ff94
 
  What device have you got on IRQ 55? (Try grep 55: /proc/interrupts to

 grep 55: /proc/interrupts
  55:  1  0  0  0  0  0
  0  0   PCI-MSI-edge  xhci_hcd


  find out) Looking at the other context of that error, I's say that
  whatever device that is, is not recovering well from suspend (some
  devices don't handle it well - workarounds involve unloading the driver
  before suspend or resetting it on resume etc. Of course, what the device
  is will dictate how much of a hassle that is)/

 any idea what device it is?




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: swapper tainted

2013-09-17 Thread emmanuel segura
I'm not a kernel guru, but i can tell you for sure, your kernel has a
problem with a proprietary component


2013/9/18 Jim Green student.northwest...@gmail.com


 This happens in hibernation.
 6143 Sep 16 00:34:30 antec kernel: [28317.484624] ACPI: Waking up from
 system sleep state S4
 6144 Sep 16 00:34:30 antec kernel: [28317.536857] PM: noirq restore of
 devices complete after 51.993 msecs
 6145 Sep 16 00:34:30 antec kernel: [28317.536892] irq event 55: bogus
 return value ff94
 6146 Sep 16 00:34:30 antec kernel: [28317.536897] Pid: 0, comm: swapper/0
 Tainted: P   O 3.4.49-amd64-20130619232207 #3
 6147 Sep 16 00:34:30 antec kernel: [28317.536901] Call Trace:
 6148 Sep 16 00:34:30 antec kernel: [28317.536903]  IRQ
 [8109599f] ? __report_bad_irq+0x21/0xc1
 6149 Sep 16 00:34:30 antec kernel: [28317.536915]  [810940eb] ?
 handle_irq_event_percpu+0x162/0x1ac
 6150 Sep 16 00:34:30 antec kernel: [28317.536920]  [8109416a] ?
 handle_irq_event+0x35/0x53
 6151 Sep 16 00:34:30 antec kernel: [28317.536925]  [810964b2] ?
 handle_edge_irq+0xa2/0xcc
 6152 Sep 16 00:34:30 antec kernel: [28317.536932]  [8100f8b0] ?
 handle_irq+0x18/0x20
 6153 Sep 16 00:34:30 antec kernel: [28317.536937]  [8100f609] ?
 do_IRQ+0x41/0x97
 6154 Sep 16 00:34:30 antec kernel: [28317.536944]  [8135c3ea] ?
 common_interrupt+0x6a/0x6a
 6155 Sep 16 00:34:30 antec kernel: [28317.536946]  EOI
 [811f47e2] ? intel_idle+0xd9/0x107
 6156 Sep 16 00:34:30 antec kernel: [28317.536956]  [811f47c0] ?
 intel_idle+0xb7/0x107
 6157 Sep 16 00:34:30 antec kernel: [28317.536962]  [8127b509] ?
 cpuidle_idle_call+0xce/0x1b9
 6158 Sep 16 00:34:30 antec kernel: [28317.536968]  [81014eb4] ?
 cpu_idle+0x9c/0xe6
 6159 Sep 16 00:34:30 antec kernel: [28317.536973]  [816a1b67] ?
 start_kernel+0x3d5/0x3e0
 6160 Sep 16 00:34:30 antec kernel: [28317.536978]  [816a15a8] ?
 repair_env_string+0x57/0x57
 6161 Sep 16 00:34:30 antec kernel: [28317.536985]  [816a13c3] ?
 x86_64_start_kernel+0x101/0x10c
 6162 Sep 16 00:34:30 antec kernel: [28317.536987] handlers:
 6163 Sep 16 00:34:30 antec kernel: [28317.537010] [a01c274b]
 xhci_msi_irq
 6164 Sep 16 00:34:30 antec kernel: [28317.537012] PM: early restore of
 devices complete after 0.085 msecs
 6165 Sep 16 00:34:30 antec kernel: [28317.770178] ehci_hcd :00:1a.0:
 setting latency timer to 64
 6166 Sep 16 00:34:30 antec kernel: [28317.770216] usb usb5: root hub lost
 power or was reset

 uname -a
 Linux antec 3.4.49-amd64-20130619232207 #3 SMP Wed Jun 19 23:24:04 EDT
 2013 x86_64 GNU/Linux

 What might be the problem? I run debian wheezy but use my own compiled
 kernel.. Thanks. Jim.




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: swapper tainted

2013-09-17 Thread emmanuel segura
Read this link http://www.novell.com/support/kb/doc.php?id=3582750


2013/9/18 Rares Aioanei debian.dev.l...@gmail.com

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 09/18/2013 01:46 AM, emmanuel segura wrote:
  I'm not a kernel guru, but i can tell you for sure, your kernel has
  a problem with a proprietary component
 
 Why do you say that?


 - --
 Rares Aioanei
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.21 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

 iQEcBAEBAgAGBQJSONyJAAoJEM3LMAZrw4rHYl4H/022SATIIaEfAqQzYbqJN/0R
 8USl+xdK+2DwdYsZnO5PDScoY52myu1c7s7L3H4ELzyKc00/NupenFF4C/Q+ARrf
 A4ShSpFJWgh+FLIwycTSPMkZYvvpnthenKTY4OmMBhHpJ0tlo6UkznZS1FOTifKu
 eMp4PmcZr03Su1hwlA2ZP07Sc4mePgRpYHJrDdkv/gQ97JrqdL2VZaxexDtOyEZX
 b+JrOikWCt3qA23dIjYkvtE/zNODU8iwm/1B7/oQ097574dRI5TmS6jQyEGCoxP0
 u+6sSbaXfbnTofb/lQjXCYCW53/+JVnqSuskav+PUrE89085G7tdcxWNq7eWSoU=
 =TE5c
 -END PGP SIGNATURE-


 --
 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/5238dc89.5060...@gmail.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: boot: can't find root=/dev/mapper/vgHDB-HDBB

2013-08-19 Thread emmanuel segura
maybe your volume group are not active by initramdisk


2013/8/19 Hugo Vanwoerkom hvw59...@care2.com

 emmanuel segura wrote:

 Did you tryed rootdelay grub option?



 Yes, did not change anything.


 Hugo


 --
 To UNSUBSCRIBE, email to 
 debian-user-REQUEST@lists.**debian.orgdebian-user-requ...@lists.debian.orgwith
  a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/**kut9g9$kdd$1...@ger.gmane.orghttp://lists.debian.org/kut9g9$kdd$1...@ger.gmane.org




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: boot: can't find root=/dev/mapper/vgHDB-HDBB

2013-08-19 Thread emmanuel segura
Every kernel has a initramdisk, try to recreate the debian ramdisk boot
with your kernel and look this link

http://serverfault.com/questions/310445/booting-root-filesystem-on-lvm


2013/8/19 Hugo Vanwoerkom hvw59...@care2.com

 emmanuel segura wrote:

 maybe your volume group are not active by initramdisk


 That's what I don't understand: this is booting the Debian Sid kernel, but
 when I boot with the same root parameter with my own kernel it works. Why
 does initramfs see the vg with my kernel but not with Debian's?

 My own kernel is the same version as Debian's but just has the modules for
 my hardware, while Debian's has everything.


 Hugo


 --
 To UNSUBSCRIBE, email to 
 debian-user-REQUEST@lists.**debian.orgdebian-user-requ...@lists.debian.orgwith
  a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/**kutef5$juq$1...@ger.gmane.orghttp://lists.debian.org/kutef5$juq$1...@ger.gmane.org




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: boot: can't find root=/dev/mapper/vgHDB-HDBB

2013-08-18 Thread emmanuel segura
Did you tryed rootdelay grub option?


2013/8/19 Hugo Vanwoerkom hvw59...@care2.com

 Hi,

 Booting the latest Debian stock kernels stop in initramfs saying that
 /dev/mapper/vgHDB-HDBB does not exist as root device.

 But the kernel that I built myself has no such problem.

 This refers to 3.10.4, and later versions.

 What am I missing?

 Hugo


 --
 To UNSUBSCRIBE, email to 
 debian-user-REQUEST@lists.**debian.orgdebian-user-requ...@lists.debian.orgwith
  a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/**kuroue$6ln$1...@ger.gmane.orghttp://lists.debian.org/kuroue$6ln$1...@ger.gmane.org




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: After Sieve plugin errors

2013-08-07 Thread emmanuel segura
df -k?


2013/8/7 M.Atıf CEYLAN meh...@atifceylan.com

 On 08/07/2013 02:55 PM, Jochen Spieker wrote:

 M.Atıf CEYLAN:

 I have 2 Dovecot servers (as clustered on ocfs2). I sometimes get
 some errors since I installed the sieve plugin.
 Sometimes though they are not actually quota exceeded, I get Quota
 exceeded error messages.
 There is no any disk or file system error/warning.

 Where do you expect such a warning to show up? Did you check all
 relevant filesystems with df -k and df -i?

 J.

 Inodes are 63% used (max value of results). These errors shown in dovecot
 logs.


 --
 M.Atıf CEYLAN
 Yurdum Yazılım


 --
 To UNSUBSCRIBE, email to 
 debian-user-REQUEST@lists.**debian.orgdebian-user-requ...@lists.debian.orgwith
  a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/**52023A13.9020509@atifceylan.**comhttp://lists.debian.org/52023a13.9020...@atifceylan.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: After Sieve plugin errors

2013-08-07 Thread emmanuel segura
tunefs.ocfs2 --fs-features=discontig-bg /dev/your_block_device



2013/8/7 emmanuel segura emi2f...@gmail.com

 Ok

 Try with this:

 debugfs.ocfs2 -n -R stat //inode_alloc:

 Verify that the value Next Free Rec is at 0 and the value of either 0 Free

 This indicates that there is no 'more' contiguous space available to the 
 allocation of new blocks even if there 'space available on the system

 The solution to the problem of the allocation of blocks and 'to activate
 FEATURES discontig-bg that allows you to allocate non-contiguous spaces.

 The FEATURES you enable 'in this way

 tunefs.ocfs2 --fs-features=discontig-bg





 2013/8/7 M.Atıf CEYLAN meh...@atifceylan.com

  lot of free space


 On 08/07/2013 03:41 PM, emmanuel segura wrote:

 df -k?


 2013/8/7 M.Atıf CEYLAN meh...@atifceylan.com

 On 08/07/2013 02:55 PM, Jochen Spieker wrote:

 M.Atıf CEYLAN:

 I have 2 Dovecot servers (as clustered on ocfs2). I sometimes get
 some errors since I installed the sieve plugin.
 Sometimes though they are not actually quota exceeded, I get Quota
 exceeded error messages.
 There is no any disk or file system error/warning.

 Where do you expect such a warning to show up? Did you check all
 relevant filesystems with df -k and df -i?

 J.

  Inodes are 63% used (max value of results). These errors shown in
 dovecot logs.


 --
 M.Atıf CEYLAN
 Yurdum Yazılım


   --
 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/52023a13.9020...@atifceylan.com




 --
 esta es mi vida e me la vivo hasta que dios quiera



 --
 M.Atıf CEYLAN
 Yurdum Yazılım




 --
 esta es mi vida e me la vivo hasta que dios quiera




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: After Sieve plugin errors

2013-08-07 Thread emmanuel segura
Ok

Try with this:

debugfs.ocfs2 -n -R stat //inode_alloc:

Verify that the value Next Free Rec is at 0 and the value of either 0 Free

This indicates that there is no 'more' contiguous space available to
the allocation of new blocks even if there 'space available on the
system

The solution to the problem of the allocation of blocks and 'to activate
FEATURES discontig-bg that allows you to allocate non-contiguous spaces.

The FEATURES you enable 'in this way

tunefs.ocfs2 --fs-features=discontig-bg





2013/8/7 M.Atıf CEYLAN meh...@atifceylan.com

  lot of free space


 On 08/07/2013 03:41 PM, emmanuel segura wrote:

 df -k?


 2013/8/7 M.Atıf CEYLAN meh...@atifceylan.com

 On 08/07/2013 02:55 PM, Jochen Spieker wrote:

 M.Atıf CEYLAN:

 I have 2 Dovecot servers (as clustered on ocfs2). I sometimes get
 some errors since I installed the sieve plugin.
 Sometimes though they are not actually quota exceeded, I get Quota
 exceeded error messages.
 There is no any disk or file system error/warning.

 Where do you expect such a warning to show up? Did you check all
 relevant filesystems with df -k and df -i?

 J.

  Inodes are 63% used (max value of results). These errors shown in
 dovecot logs.


 --
 M.Atıf CEYLAN
 Yurdum Yazılım


   --
 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/52023a13.9020...@atifceylan.com




 --
 esta es mi vida e me la vivo hasta que dios quiera



 --
 M.Atıf CEYLAN
 Yurdum Yazılım




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: After Sieve plugin errors

2013-08-07 Thread emmanuel segura
This workaround is not for you, man mkfs.ocfs2 and look the option

  -T filesystem-type
  Specify how the filesystem is going to be used, so that
mkfs.ocfs2 can chose optimal filesystem parameters for that use.  The
supported  filesystem  types
  are:

   mail   Appropriate for file systems that will host lots
of small files.

   datafiles
  Appropriate for file systems that will host a
relatively small number of very large files.

   vmstore
  Appropriate for file systems that will host
Virtual machine images.



2013/8/7 M.Atıf CEYLAN meh...@atifceylan.com

  Count: 243   Next Free Rec: 243
  ##   TotalUsed Free Block#
 04096 4096 07878657
 14096 4096 011997697
 24096 4095 112126721
 34096 4095 112158977
 44096 4094 2933889
 54096 4096 0326657
 64096 4096 0327681
 74096 4096 012417025
 84096 4094 2329729
 94096 4091 51224193
 10   4096 4090 61288705
 11   4096 4089 71320961
 12   4096 4096 01385473
 13   4096 4096 01449985

 Perhaps, I must increase the cluster size of ocfs2 :(
 Is the discontig-bg a workaround for me? If it's a workaround I'll make
 creation new volumes with big block size and move the data to there.

 What is your suggestion to me for mkfs.ocfs2 params? Journal size, cluster
 size etc.?
 (I have 6 volumes and each size is 140GB)


 On 08/07/2013 03:49 PM, emmanuel segura wrote:

  Ok

  Try with this:

 debugfs.ocfs2 -n -R stat //inode_alloc:
 Verify that the value Next Free Rec is at 0 and the value of either 0 Free

 This indicates that there is no 'more' contiguous space available to the 
 allocation of new blocks even if there 'space available on the system

 The solution to the problem of the allocation of blocks and 'to activate
 FEATURES discontig-bg that allows you to allocate non-contiguous spaces.

 The FEATURES you enable 'in this way

  tunefs.ocfs2 --fs-features=discontig-bg







 2013/8/7 M.Atıf CEYLAN meh...@atifceylan.com

  lot of free space


 On 08/07/2013 03:41 PM, emmanuel segura wrote:

 df -k?


 2013/8/7 M.Atıf CEYLAN meh...@atifceylan.com

 On 08/07/2013 02:55 PM, Jochen Spieker wrote:

 M.Atıf CEYLAN:

 I have 2 Dovecot servers (as clustered on ocfs2). I sometimes get
 some errors since I installed the sieve plugin.
 Sometimes though they are not actually quota exceeded, I get Quota
 exceeded error messages.
 There is no any disk or file system error/warning.

 Where do you expect such a warning to show up? Did you check all
 relevant filesystems with df -k and df -i?

 J.

  Inodes are 63% used (max value of results). These errors shown in
 dovecot logs.


 --
 M.Atıf CEYLAN
 Yurdum Yazılım


   --
 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/52023a13.9020...@atifceylan.com




 --
 esta es mi vida e me la vivo hasta que dios quiera



 --
 M.Atıf CEYLAN
 Yurdum Yazılım




 --
 esta es mi vida e me la vivo hasta que dios quiera



 --
 M.Atıf CEYLAN
 Yurdum Yazılım




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Difficulty configuring kdump

2013-07-29 Thread emmanuel segura
Hello

After you reboot and configure your kdump, before you do the test crash
dump, check if your crash kernel was loaded corretly with grep -i crash
/proc/iomem




2013/7/29 Andrew Walsh awa...@permabit.com

 Hi all,



 I’ve got an issue trying to configure kdump on my debian systems, and I
 was hoping someone could help shine some light on the issue for me that
 might help me get it working.  I’ve done some extensive reading about how
 to configure it, but nothing has been fruitful in pointing me in the right
 direction.  The systems I am trying to get this working on are running
 debian squeeze with the 64-bit 3.2 backported kernel via squeeze-backports.



 Here's the scenario:

 I configure kdump /etc/default/kdump-tools as I would like (I've varied
 the location of /var/crash around in the event that partitioning or
 location had anything to do with it, with no success):

   USE_KDUMP=1
   KDUMP_COREDIR=/var/crash
   DEBUG_KERNEL=/usr/lib/debug/boot/vmlinux-3.2.0-0.bpo.3-amd64
   KDUMP_CMDLINE_APPEND=irqpoll maxcpus=1


 And then update the grub config

   For grub1 (for xen-hosts): Append crashkernel=64M@192M to kernel line
 on default boot
   For grub2: edit /etc/default/grub and append crashkernel=64M to
 GRUB_CMDLINE_LINUX_DEFAULT
 (I’ve noticed that if I keep quiet in there, kdump-tools fails to load
 as well)
   run update-grub
   (If there is a double space before crashkernel in the resulting
 grub.cfg or menu.lst, I noticed that I have to remove it manually)

 On one of the systems (the same one showing the output of kdump-config),
 here is the resulting kernel param in my grub.cfg:
   linux   /boot/vmlinuz-3.2.0-0.bpo.3-amd64
 root=UUID=8135cc05-9b88-4aa1-be74-9c4d687bf956 ro crashkernel=64M



 I then reboot the host and run kdump-config status, which returns Ready
 to kdump:

 # kdump-config status
 current state   : ready to kdump


 This is the output of kdump-config show:

 # kdump-config show
 USE_KDUMP:1
 KDUMP_SYSCTL: kernel.panic_on_oops=1
 KDUMP_COREDIR:/var/crash
 crashkernel addr: 0x330
 current state:ready to kdump

 kernel link:
   /usr/lib/debug/boot/vmlinux-3.2.0-0.bpo.3-amd64

 kexec command:
   /sbin/kexec -p
 --command-line=BOOT_IMAGE=/boot/vmlinuz-3.2.0-0.bpo.3-amd64
 root=UUID=8135cc05-9b88-4aa1-be74-9c4d687bf956 ro  irqpoll maxcpus=1
 --initrd=/boot/initrd.img-3.2.0-0.bpo.3-amd64
 /boot/vmlinuz-3.2.0-0.bpo.3-amd64


 Ensure that I have the sysrq trigger set up correctly by setting it to 1:

 echo 1  /proc/sys/kernel/sysrq

 (This is usually already set to 1, but I still do it to make sure)

 Then I simulate a crash:

 echo c  /proc/sysrq-trigger


 On a Squeeze host, the panic occurs, but nothing else. I have to manually
 reset the machine to bring it back.
 On a RHEL6 host (slightly varied configuration), the kernel dumps the core
 as expected and reboots.

 One thing to also note is that when I have this config in place, sending a
 reboot operation to the system responds as expected, where it doesn’t fully
 reboot the machine, it just simply reloads the running kernel, so it does
 appear that things are half-working.


 I have tried this configuration on several machines, and they all react
 the same way. I've reached out to the package maintainer for the best place
 to ask this question for kdump-tools, but I haven't gotten a reply, so this
 was my best guess.



 I would greatly appreciate any help or insight into where I might find
 some assistance with this issue.

 Thanks.

 *Andrew Walsh*




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Difficulty configuring kdump

2013-07-29 Thread emmanuel segura
Can you show us the screen when crash happen? after you give echo c 
/proc/sysrq-trigger


2013/7/29 Andrew Walsh awa...@permabit.com

 Yes, it appears that it was loaded as expected:

 # grep -i crash /proc/iomem

   3300-36ff : Crash kernel



 Thanks for the response.

 *Andrew Walsh*




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Difficulty configuring kdump

2013-07-29 Thread emmanuel segura
Hello

as you see in the kernel trace, maybe it's kernel BUG, i don't know if
there is an open bug for this, but it can be useful if you try to do the
same thing with an other kernel.


2013/7/29 Andrew Walsh awa...@permabit.com

 Here is the output once I trigger the crash:



 [3518.067263] SysRq : Trigger a crash

 [3518.070526] BUG: unable to handle kernel NULL pointer dereference at
 (null)

 [3518.071338] IP: [812446fe] sysrq_handle_crash+0xd/0x16

 [3518.072163] PGD 7c781067 PUD 7c780067 PMD 0

 [3518.072973] Oops: 0002 [#1] SMP

 [3518.073772] CPU 0

 [3518.073782] Modules linked in: autofs4 fuse nfs lockd fscache
 auth_rpcgss nfs_acl sunrpc dm_crypt snd_pcm snd_timer snd parport_pc
 tpm_tis tpm tpm_bios soundcore snd_page_alloc psmouse i2c_piix4 i2c_core
 parport evdev vmw_balloon shpchp pcspkr coretemp serio_raw processor ac
 container button power_supply thermal_sys ext3 jbd mbcache dm_mod raid10
 raid456 async_raid6_recov asynx_pq raid6_pq async_xor xor asyn_memcpy
 async_tx raid1 raid0 multipath linear md_mod nbd sg sr_mod cdrom sd_mod
 ata_generic crc_t10dif ata_piix libata floppy e1000 crc32c_intel mptspi
 mptscih mptbase scsi_transport_spi scsi_mod [last unloaded: scsi_wait_scan]

 [3518.082803]

 [3518.083718] Pid: 2108, comm: bash Not tainted: 3.2.0-0.bpo.3-amd64 #1
 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform

 [3518.084706] RIP: 0010:[f812446fe]  [f812446fe]
 sysrq_handle_crash+0xd/0x16

 [3518.085667] RSP: 0018880037abbe80  EFLAGS: 00010092

 [3518.086610] RAX: 0010 RBX: 8164b660 RCX:
 09e069e06

 [3518.087580] RDX:  RSI: 0046 RDI:
 00063

 [3518.088532] RBP: 0063 R08:  R09:
 0

 [3518.089475] R10: 88007ab874d0 R11: 81433470 R12:
 1

 [3518.094532] R13: 0246 R14: 7fff09a49200 R15:
 1

 [3518.096509] FS:  7f4a16be5700() GS:88007fc0()
 knlGS:

 [3518.097494] CS:  0010 DS:  ES:  CR0: 80050033

 [3518.098470] CR2:  CR3: 7cba2000 CR4:
 006f0

 [3518.100774] DR0:  DR1:  DR2:
 0

 [3518.104353] DR3:  DR6: 0ff0 DR7:
 00400

 [3518.105309] Process bash (pid: 2108, threadinfo 880037aba000, task
 8800379430e0)

 [3518.106266] Stack:

 [3518.107217]  81244c90 0002 
 880037abbf58

 [3518.108205]  0002 7fff09a4922c 81244d5d
 fff4

 [3518.109197]  88007abf5480 88007c909ec0 8114df96
 0002

 [3518.110208] Call Trace:

 [3518.113574]  [81244c90] ? __handle_sysrq+0xa9/0x141

 [3518.115998]  [81244d5d] ? write_sysrq_trigger+0x35/0x3d

 [3518.117025]  [8114df96] ? proc_reg_write+0x7a/0x93

 [3518.118032]  [811065cd] ? vfs_write+0xa4/0xff

 [3518.119023]  [811066de] ? sys_write+0x45/0x6e

 [3518.120019]  [8136b292] ? system_call_fastpath+0x16/0x1b

 [3518.121003] Code: 00 01 8a 81 13 2f 80 81 19 d2 83 e0 8f f7 d2 83 e2 03
 c1 e2 04 09 d0 88 81 13 2f 80 81 c3 c7 05 a1 d4 52 00 01 00 00 00 0f ae f8
 c6 04 25 00 00 00 00 01 c3 8d 47 d0 83 f8 09 76 0d 8d 57 9f 31

 [3518.125802] RIP  [812446fe] sysrq_handle_crash+0xd/0x16

 [3518.128071]  RSP 880037abbe80

 [3518.129085] DR2: 





 *Andrew Walsh*




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Debian Testing VMWare-Tools Bad Variable Name

2013-07-22 Thread emmanuel segura
Hello List

Maybe i wrong but i think the error is local
run_kver=`get_version_integer`  the script calls get_version_integer like
external command, but it's a function

Thanks


2013/7/21 William Hopkins we.hopk...@gmail.com

 On 07/21/13 at 04:09pm, Stephen P. Molnar wrote:
  In the case of Debian 7.1.0 the vmware tools installed without any
 problems.
 
  Unfortunately, this was not the case with Debian Testing.  the tools
  installed without any problems, but when the installer ran
  /usr/bin/ware/vmware.config.tools.pl there were errors:
 
  Starting VMware Tools services in the virtual machine:
 Switching to guest configuration: [71G done
  /etc/init.d/vmware-tools: 1090: local: ': bad variable name
  /etc/init.d/vmware-tools: 1090: local: ': bad variable name
 Blocking file system: [71Gfailed
  /etc/init.d/vmware-tools: 1187: local: ': bad variable name
 Guest operating system daemon: [71G done
  Unable to start services for VMware Tools
   The lines in question are:
 
  1090   local run_kver=`get_version_integer`
 
  and
 
  1187local run_kver=`get_version_integer`

 Can you provide the vmware.config.tools.pl from your system?
 Can you `type get_version_integer`? if it's referenced in that script, can
 you
 provide it also? Sounds like an unescaped quote in one of these scripts,
 might
 have to identify the maintainer and bugreport upstream.

 Also, didn't you post this recently, with a longer log? Is this the same
 issue?

 --
 William




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Debian Testing VMWare-Tools Bad Variable Name

2013-07-22 Thread emmanuel segura
Sorry

Forgot the previous mail


2013/7/22 emmanuel segura emi2f...@gmail.com

 Hello List

 Maybe i wrong but i think the error is local
 run_kver=`get_version_integer`  the script calls get_version_integer like
 external command, but it's a function

 Thanks


 2013/7/21 William Hopkins we.hopk...@gmail.com

 On 07/21/13 at 04:09pm, Stephen P. Molnar wrote:
  In the case of Debian 7.1.0 the vmware tools installed without any
 problems.
 
  Unfortunately, this was not the case with Debian Testing.  the tools
  installed without any problems, but when the installer ran
  /usr/bin/ware/vmware.config.tools.pl there were errors:
 
  Starting VMware Tools services in the virtual machine:
 Switching to guest configuration: [71G done
  /etc/init.d/vmware-tools: 1090: local: ': bad variable name
  /etc/init.d/vmware-tools: 1090: local: ': bad variable name
 Blocking file system: [71Gfailed
  /etc/init.d/vmware-tools: 1187: local: ': bad variable name
 Guest operating system daemon: [71G done
  Unable to start services for VMware Tools
   The lines in question are:
 
  1090   local run_kver=`get_version_integer`
 
  and
 
  1187local run_kver=`get_version_integer`

 Can you provide the vmware.config.tools.pl from your system?
 Can you `type get_version_integer`? if it's referenced in that script,
 can you
 provide it also? Sounds like an unescaped quote in one of these scripts,
 might
 have to identify the maintainer and bugreport upstream.

 Also, didn't you post this recently, with a longer log? Is this the same
 issue?

 --
 William




 --
 esta es mi vida e me la vivo hasta que dios quiera




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Debian Testing VMWare-Tools Bad Variable Name

2013-07-22 Thread emmanuel segura
Hello List

I try to figure out i what i think, get_version_integer function get 3
parameters
+
# Get the running kernel integer version
get_version_integer() {
  local version_uts
  local v1
  local v2
  local v3

  version_uts=`uname -r`

  # There is no double quote around the back-quoted expression on purpose
  # There is no double quote around $version_uts on purpose
  set `IFS='.'; echo $version_uts`
  v1=$1
  v2=$2
  v3=$3
  # There is no double quote around the back-quoted expression on purpose
  # There is no double quote around $v3 on purpose
  set `IFS='-ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz'; echo
$v3`
  v3=$1

  kernel_version_integer $v1 $v2 $v3
}
+++

the 3 paraters are passed to function kernel_version_integer, but i see in
whole script, get_version_intege function is called without parameters

+
vmware_start_acpi_hotplug() {
   if [ `isLoaded $acpi` = 'yes' ]; then
  # acpiphp is already loaded.  Success.
  return 0
   fi
   # Don't allow pciehp and acpiphp to overlap.  Also don't unload
   # pciehp in order to then load acpiphp as this won't avoid acpiphp
   # crashing while trying to register a device node pciehp already has.
   # All this only before 2.6.17 - since 2.6.17 pciehp and acpiphp can
   # coexist.
   if [ `isLoaded pciehp` = 'yes' ]; then
  local ok_kver=`kernel_version_integer '2' '6' '17'`
  local run_kver=`get_version_integer`
  if [ $run_kver -lt $ok_kver ]; then
 return 1
  fi
   fi
   modprobe $acpi
   return 0
}
+++

I don't use vmware for do a test

Thanks an sorry for my english :)



2013/7/22 emmanuel segura emi2f...@gmail.com

 Sorry

 Forgot the previous mail


 2013/7/22 emmanuel segura emi2f...@gmail.com

 Hello List

 Maybe i wrong but i think the error is local
 run_kver=`get_version_integer`  the script calls get_version_integer like
 external command, but it's a function

 Thanks


 2013/7/21 William Hopkins we.hopk...@gmail.com

 On 07/21/13 at 04:09pm, Stephen P. Molnar wrote:
  In the case of Debian 7.1.0 the vmware tools installed without any
 problems.
 
  Unfortunately, this was not the case with Debian Testing.  the tools
  installed without any problems, but when the installer ran
  /usr/bin/ware/vmware.config.tools.pl there were errors:
 
  Starting VMware Tools services in the virtual machine:
 Switching to guest configuration: [71G done
  /etc/init.d/vmware-tools: 1090: local: ': bad variable name
  /etc/init.d/vmware-tools: 1090: local: ': bad variable name
 Blocking file system: [71Gfailed
  /etc/init.d/vmware-tools: 1187: local: ': bad variable name
 Guest operating system daemon: [71G done
  Unable to start services for VMware Tools
   The lines in question are:
 
  1090   local run_kver=`get_version_integer`
 
  and
 
  1187local run_kver=`get_version_integer`

 Can you provide the vmware.config.tools.pl from your system?
 Can you `type get_version_integer`? if it's referenced in that script,
 can you
 provide it also? Sounds like an unescaped quote in one of these scripts,
 might
 have to identify the maintainer and bugreport upstream.

 Also, didn't you post this recently, with a longer log? Is this the same
 issue?

 --
 William




 --
 esta es mi vida e me la vivo hasta que dios quiera




 --
 esta es mi vida e me la vivo hasta que dios quiera




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: openvpn

2013-07-16 Thread emmanuel segura
Hello Pol

You can do it with two different configuration files on the client side.

Thanks


2013/7/16 Pol Hallen m...@fuckaround.org

 Hi all :-)

 I've a large network over internet. Some clients connects to server by vpn.

 Now I need setting up another vpn server on other server:

 server1: openvpn server
 server2: new openvpn server

 so, two machines with one openvpn server each.

 How can I configure clients to connect to both openvpn?

 thanks!

 Pol


 --
 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/201307161506.28320...@fuckaround.org




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: How to disable UTC time?

2013-07-09 Thread emmanuel segura
Hello

If you wanna fix the problem = remove windows :)


2013/7/9 Yuwen Dai yuw...@gmail.com

  I realize this is the sort of answer that annoys me to death when I get
  it...  but why not fix the time on your BIOS clock?

 I did.  As I mentioned in the previous email, I set the BIOS clock as
 UTC time and set my time zone as UTC+8, this works.  My machine also
 has Windows, after I boot into Windows, I found the BIOS clock was
 modified by Windows that set the clock time as local time, i.e. UTC+8,
 after that  I boot into Linux, Linux thinks the BIOS clock is till
 UTC, it add 8 hours again to get the local time,  so my clock is 8
 hours ahead.   To get rid of the interference of Windows, I need to
 disable UTC.

 Best regards,
 Yuwen


 --
 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/CANdEz-Yx4GtMk_KycJMRYDOw-ktd87SqO-KiTfA5PyLL=vs...@mail.gmail.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: NFS Failover

2013-06-27 Thread emmanuel segura
Gfs2 it self can be mounted as nfs share on the client side you dont even
need to run nfs underneath.

??

I have a collegue who told the same thing, but showed to him that's not true

If you have have a link for this, i can appreciate

Thanks
Emmanuel


2013/6/27 Igor Cicimov icici...@gmail.com

 Gfs2 it self can be mounted as nfs share on the client side you dont even
 need to run nfs underneath.
 On 27/06/2013 7:18 AM, Joel Wirāmu Pauling j...@aenertia.net wrote:

 I successfully run nfsv4 and drbd in clustered mode.

 The main thing to do wrt config files for nfs is pin down port numbers
 to specific (rather than dynamic ones) at startup for the rpc suite.
 And also switch to UDP rather than transport (solves session issues
 during failover) - your clients all need to explicitly ensure they are
 mounting with udp options.

 Also you need to have the rpc socket file handles on a clustered
 filesystem somewhere mounted on both nodes (I use GFS2 for this
 purpose as it's easier).

 I have heard great things about ceph instead of drbd but haven't tried
 it myself yet.

 On 27 June 2013 09:06, Stan Hoeppner s...@hardwarefreak.com wrote:
  On 6/26/2013 2:54 PM, David Parker wrote:
 
  As you both pointed out, it
  would be easier and safer to use a clustered filesystem instead of NFS
 for
  this project.  I'll check out GlusterFS, it looks like a great option.
 
  It may be worth clarification to note GlusterFS is not a cluster
  filesystem.  It is a distributed filesystem.  There is a significant
  difference between clustered and distributed.
 
  A distributed filesystem such as Gluster is applicable to your needs as
  you can add/remove clients in an ad hoc manner without issue.  A cluster
  filesystem is probably not suitable, because you simply can't connect
  new nodes in a willy nilly fashion.  None of OCFS, GFS, GPFS, CXFS, etc
  handle this very well, if at all.  Cluster filesystems require hardware
  fencing between nodes.  One doesn't setup hardware fencing willy nilly.
 
  --
  Stan
 
 
  --
  To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
  Archive: http://lists.debian.org/51cb57d6.20...@hardwarefreak.com
 


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 http://lists.debian.org/CAKiAkGQZ0K0oZpy=W0G6D8KFgPZapsL90=EPvBygFRb=one...@mail.gmail.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: how to boot a system with a broken but non-essential LVM VG

2013-05-16 Thread emmanuel segura
Look this
http://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/lost_PV_remove_from_VG.html


2013/5/16 Ross Boylan r...@biostat.ucsf.edu

 One of the disks that was in an LVM Volume Group died, as a result of
 which LVM reports an error when the system starts.  I believe because of
 the errors from lvm the boot sequence stops.  After several minutes it
 times out.  At that point a shell prompt appears.   The missing physical
 disk is no longer essential for the system to boot, and the damaged VG
 still has some good volumes in  it, so I do
 vgchange -ay
 which reports errors but activates what it can
 and
 cryptsetup luksOpen /dev/myVG/myCryptRoot CryptRoot
 when I exit the shell the system boot continues successfully.  I'm using
 grub2 on amd64 and a standard initramfs for wheezy.  Note that myVG is not
  the damaged volume group.

 Is there some way I can achieve the same effect without manual
 intervention (except for the crypto pass-phrase) and without the wait for
 timeout?

 Ross Boylan


 --
 To UNSUBSCRIBE, email to 
 debian-user-REQUEST@lists.**debian.orgdebian-user-requ...@lists.debian.orgwith
  a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/**519422cf.9010...@biostat.ucsf.**eduhttp://lists.debian.org/519422cf.9010...@biostat.ucsf.edu




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: mdadm devices have the same name after install of Debian Wheezy

2013-04-30 Thread emmanuel segura
Hello John

I'm pretty sure the RAID and LVM are both MD devices but are using the same
name

Ummm LVM is on dm and raid software is on md, try to check your lvm.conf
into your initrd, because i thin the reason of your problem is, the vg was
not  found

Thanks


2013/4/30 John Tate j...@johntate.org

 I installed Debian Wheezy on a computer with two hard drives. Each drive
 has a software RAID partition (RAID1) but the first partition on the first
 drive is GPT and the second drive's first partition is /boot. On the
 software raid is a LVM with root, swap, and home all encrypted. I also
 tried encrypting the whole LVM before that and got the same error.

 I'm getting an error right after grub loads the kernel with mdadm that I
 have two devices with the same name for /dev/md. Here is a screenshot of
 the full error:
 http://media.johntate.org/Pictures/Errors/2013-04-30%2013.15.03.jpg

 I'm pretty sure the RAID and LVM are both MD devices but are using the
 same name. I'm pretty sure this is how I configured my other computer which
 isn't UEFI or GPT but had no trouble with it, suggesting a problem with the
 Debian installer perhaps. I might be wrong though, I can't see what else
 would be the problem. The installer for Wheezy shouldn't even let me make a
 mistake this big.

 How can I fix this? It's strange.

 Edit: I checked /etc/mdadm/mdadm.conf under the initrd using Busybox and
 there seems to be two entries for a md array called mises though I know I
 only created one.

 --
 www.johntate.org




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: iperf / ftp / http TCP poor performance in one direction (UDP good)

2013-04-12 Thread emmanuel segura
Hello

Maybe it can the the disks write speed, anayway you can use netstat or ss
look for Recv-Q Send-Q columns


2013/4/12 John Elliot johnellio...@hotmail.com

 Thanks again for your help with this.

 I've run 500 pings (-c 500 -i 0) in both directions, and got zero loss.

 Ill try running tcpdump on both servers, and re-testing to check the
 segments.

 Swapping the servers would be extremely difficult ;)  (They are over
 1000k's apart, and one is in an unmanned(majority of the time) data
 centre.




  From: mtzgu...@gmail.com
  Date: Fri, 12 Apr 2013 01:38:40 -0300
  Subject: Re: iperf / ftp / http TCP poor performance in one direction
 (UDP good)
  To: johnellio...@hotmail.com
  CC: debian-user@lists.debian.org

 
  On Fri, Apr 12, 2013 at 1:16 AM, Guido Martínez mtzgu...@gmail.com
 wrote:
   Did you check if A acknowledges every received segment?
  Sorry, what I meant by this is if every sent segment from B reaches A.
  You can run an instance of wireshark on each host to check this.
  Basically you need to check for packet loss at high speeds (ping could
  be of use if you set the interval to 0).
 
  TCP Dup ACKs are likely caused by packet loss.
  TCP segment of a reassembled PDU is something Wireshark adds since it
  interprets a bit about application layer protocols, and I think it's
  not a reason to worry (I could have understood this wrong, I just
  looked it up).
 
  If it's easy, you could also try swapping the location of the hosts,
  to see if the problem is on the hosts, or on the link.
 
  Hope it helps and post more info if you find any.
  Guido
 
 
  --
  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/CA++DQUnEPW=oEAHY02MPSXihm-FpoAC3ddYOA0+m=vk...@mail.gmail.com
 




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: iperf / ftp / http TCP poor performance in one direction (UDP good)

2013-04-12 Thread emmanuel segura
Hello John

Try to do read test on the sender, if you don't find any read problem try
to do a transfer using ftp

Thanks


2013/4/12 John Elliot johnellio...@hotmail.com

 Thanks for the reply:

 ss results (wget in bad direction):

 Receiver - Recv and Send does not change from 0:
 ESTAB   0  0
 192.168.123.1:32815
  192.168.123.2:www

 Sender - snapshots below:
 State   Recv-Q Send-QLocal
 Address:PortPeer
 Address:Port
 ESTAB   0  505352
  192.168.123.2:www
 192.168.123.1:32816

 ESTAB   0  522728
  192.168.123.2:www
 192.168.123.1:32816

 ESTAB   0  328696
  192.168.123.2:www
 192.168.123.1:32816

 In the other direction:

 Reciever:
 ESTAB  0  0   192.168.123.2:33036192.168.123.1:
 www

 Sender:
 ESTAB  0  535760   :::192.168.123.1:www   :::
 192.168.123.2:33038
 ESTAB  0  383720   :::192.168.123.1:www   :::
 192.168.123.2:33038
 ESTAB  0  474944   :::192.168.123.1:www   :::
 192.168.123.2:33038





 --
 Date: Fri, 12 Apr 2013 10:06:38 +0200

 Subject: Re: iperf / ftp / http TCP poor performance in one direction (UDP
 good)
 From: emi2f...@gmail.com
 To: johnellio...@hotmail.com
 CC: mtzgu...@gmail.com; debian-user@lists.debian.org


 Hello

 Maybe it can the the disks write speed, anayway you can use netstat or ss
 look for Recv-Q Send-Q columns


 2013/4/12 John Elliot johnellio...@hotmail.com

 Thanks again for your help with this.

 I've run 500 pings (-c 500 -i 0) in both directions, and got zero loss.

 Ill try running tcpdump on both servers, and re-testing to check the
 segments.

 Swapping the servers would be extremely difficult ;)  (They are over
 1000k's apart, and one is in an unmanned(majority of the time) data
 centre.




  From: mtzgu...@gmail.com
  Date: Fri, 12 Apr 2013 01:38:40 -0300
  Subject: Re: iperf / ftp / http TCP poor performance in one direction
 (UDP good)
  To: johnellio...@hotmail.com
  CC: debian-user@lists.debian.org

 
  On Fri, Apr 12, 2013 at 1:16 AM, Guido Martínez mtzgu...@gmail.com
 wrote:
   Did you check if A acknowledges every received segment?
  Sorry, what I meant by this is if every sent segment from B reaches A.
  You can run an instance of wireshark on each host to check this.
  Basically you need to check for packet loss at high speeds (ping could
  be of use if you set the interval to 0).
 
  TCP Dup ACKs are likely caused by packet loss.
  TCP segment of a reassembled PDU is something Wireshark adds since it
  interprets a bit about application layer protocols, and I think it's
  not a reason to worry (I could have understood this wrong, I just
  looked it up).
 
  If it's easy, you could also try swapping the location of the hosts,
  to see if the problem is on the hosts, or on the link.
 
  Hope it helps and post more info if you find any.
  Guido
 
 
  --
  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/CA++DQUnEPW=oEAHY02MPSXihm-FpoAC3ddYOA0+m=vk...@mail.gmail.comhttp://lists.debian.org/CA++DQUnEPW=oEAHY02MPSXihm-FpoAC3ddYOA0+m=VkeQg%40mail.gmail.com
 




 --
 esta es mi vida e me la vivo hasta que dios quiera




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: iperf / ftp / http TCP poor performance in one direction (UDP good)

2013-04-12 Thread emmanuel segura
Hello Jhon

With read test i mean dd or others tools

Thanks


2013/4/12 John Elliot johnellio...@hotmail.com

 Hi - What do you mean by read test?  hdparm?

 hdparm -tT /dev/sda1

 /dev/sda1:
  Timing cached reads:   8412 MB in  2.00 seconds = 4207.53 MB/sec
  Timing buffered disk reads: 190 MB in  1.94 seconds =  97.96 MB/sec

 # hdparm -Tt /dev/sda3

 /dev/sda3:
  Timing cached reads:   7400 MB in  2.00 seconds = 3703.93 MB/sec
  Timing buffered disk reads: 186 MB in  3.02 seconds =  61.58 MB/sec


 ftp (With ss)

 ESTAB  0  477840   :::192.168.123.2:ftp-data   :::
 192.168.123.1:51161
 ESTAB  0  360552   :::192.168.123.2:ftp-data   :::
 192.168.123.1:51161

 And results (Similar to iperf):

 ftp get 64Mb.zip
 local: 64Mb.zip remote: 64Mb.zip
 200 PORT command successful
 150 Opening BINARY mode data connection for 64Mb.zip (67108864 bytes)
 226 Transfer complete
 67108864 bytes received in 42.11 secs (1556.2 kB/s)






 --
 Date: Fri, 12 Apr 2013 11:08:23 +0200

 Subject: Re: iperf / ftp / http TCP poor performance in one direction (UDP
 good)
 From: emi2f...@gmail.com
 To: johnellio...@hotmail.com
 CC: mtzgu...@gmail.com; debian-user@lists.debian.org

 Hello John

 Try to do read test on the sender, if you don't find any read problem try
 to do a transfer using ftp

 Thanks


 2013/4/12 John Elliot johnellio...@hotmail.com

 Thanks for the reply:

 ss results (wget in bad direction):

 Receiver - Recv and Send does not change from 0:
 ESTAB   0  0
 192.168.123.1:32815
  192.168.123.2:www

 Sender - snapshots below:
 State   Recv-Q Send-QLocal
 Address:PortPeer
 Address:Port
 ESTAB   0  505352
  192.168.123.2:www
 192.168.123.1:32816

 ESTAB   0  522728
  192.168.123.2:www
 192.168.123.1:32816

 ESTAB   0  328696
  192.168.123.2:www
 192.168.123.1:32816

 In the other direction:

 Reciever:
 ESTAB  0  0   192.168.123.2:33036192.168.123.1:
 www

 Sender:
 ESTAB  0  535760   :::192.168.123.1:www   :::
 192.168.123.2:33038
 ESTAB  0  383720   :::192.168.123.1:www   :::
 192.168.123.2:33038
 ESTAB  0  474944   :::192.168.123.1:www   :::
 192.168.123.2:33038





 --
 Date: Fri, 12 Apr 2013 10:06:38 +0200

 Subject: Re: iperf / ftp / http TCP poor performance in one direction (UDP
 good)
 From: emi2f...@gmail.com
 To: johnellio...@hotmail.com
 CC: mtzgu...@gmail.com; debian-user@lists.debian.org


 Hello

 Maybe it can the the disks write speed, anayway you can use netstat or ss
 look for Recv-Q Send-Q columns


 2013/4/12 John Elliot johnellio...@hotmail.com

 Thanks again for your help with this.

 I've run 500 pings (-c 500 -i 0) in both directions, and got zero loss.

 Ill try running tcpdump on both servers, and re-testing to check the
 segments.

 Swapping the servers would be extremely difficult ;)  (They are over
 1000k's apart, and one is in an unmanned(majority of the time) data
 centre.




  From: mtzgu...@gmail.com
  Date: Fri, 12 Apr 2013 01:38:40 -0300
  Subject: Re: iperf / ftp / http TCP poor performance in one direction
 (UDP good)
  To: johnellio...@hotmail.com
  CC: debian-user@lists.debian.org

 
  On Fri, Apr 12, 2013 at 1:16 AM, Guido Martínez mtzgu...@gmail.com
 wrote:
   Did you check if A acknowledges every received segment?
  Sorry, what I meant by this is if every sent segment from B reaches A.
  You can run an instance of wireshark on each host to check this.
  Basically you need to check for packet loss at high speeds (ping could
  be of use if you set the interval to 0).
 
  TCP Dup ACKs are likely caused by packet loss.
  TCP segment of a reassembled PDU is something Wireshark adds since it
  interprets a bit about application layer protocols, and I think it's
  not a reason to worry (I could have understood this wrong, I just
  looked it up).
 
  If it's easy, you could also try swapping the location of the hosts,
  to see if the problem is on the hosts, or on the link.
 
  Hope it helps and post more info if you find any.
  Guido
 
 
  --
  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/CA++DQUnEPW=oEAHY02MPSXihm-FpoAC3ddYOA0+m=vk...@mail.gmail.comhttp://lists.debian.org/CA++DQUnEPW=oEAHY02MPSXihm-FpoAC3ddYOA0+m=VkeQg%40mail.gmail.com
 




 --
 esta es mi vida e me la vivo hasta que dios quiera




 --
 esta es mi vida e me la vivo hasta que dios quiera




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: lvm2 size of logical volume after lvcreate --size 348g after mkfs.ext3 -m 0 is only 343 gigabytes?

2013-02-14 Thread emmanuel segura
man tune2fs

  -r reserved-blocks-count
  Set the number of reserved filesystem blocks.

be careful with filesystem reserved block, one time i had a production
server with / corrupted

Thanks

2013/2/14 Mitchell Laks ml...@post.harvard.edu


 Hi I am trying to backup a volume which has size 347G. So I thought to use
 lvm2.
 So I created a volumeby

 lvcreate -n test --size 348G my-volume

 I thought I would be giving myself an extra Gigabyte there :).

 then i did
 mkfs.ext3 -m0 /dev/my-volume/test

 then when I mounted the device
 mount /dev/my-volume/test /mnt

 then df -h
 only shows 343G instead of 348G.

 Note that tune2fs shows that I have indeed have 0 reserved blocks
 (ie mkfs.ext3 -mo /dev/my-volume/test is equivalent to tune2fs -m0
 /dev/my-volume/test

 So my question is where have those extra 5G gone to?

 I need to back up a 347.

 So I had tp set it up with 353G to have the correct size.

 Can anyone explain this to me?
 What kind of formula to use to calculate how much space I will need in
 advance for creating the ext3 or in the future ext4 file system? 5G seems
 like a lot.

 Thanks,
 Mitchell Laks


 --
 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/20130214191533.ga19...@earthlink.net




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Use of storage.

2013-02-03 Thread emmanuel segura
Oracle ASM, mysql innodb
http://dev.mysql.com/doc/refman/5.0/en/innodb-raw-devices.html

2013/2/3 peasth...@shaw.ca

 Typically an application uses storage _via_ filesystem operations;
 opening a file, reading from it, writing to it and etc.

 Is there any instance where an application works with a partition
 directly?  For a hypothetical example, a database application might
 create and use a file system in a storage volume without involvement
 of the OS.  Does any such thing exist in practical use?

 Thanks,   ... Peter E.

 --
 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
 Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/
 http://members.shaw.ca/peasthope/index.html#Itinerary 


 --
 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/171057923.61818.54633@heaviside.invalid




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: testing openvpn virtually on debian host

2013-01-31 Thread emmanuel segura
Why you don't use a kvm guest?

2013/1/31 Umarzuki Mochlis umarz...@gmail.com

 hi,

 please suggest me a virtualization software to help me practice
 configuring openvpn
 thanks.
 --
 Regards,

 Umarzuki Mochlis
 http://debmal.my


 --
 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/cahw9mbxxqvjahfqzf1n-h9pynsimv5+zmso-mjgpgbxonz2...@mail.gmail.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: /var full

2013-01-30 Thread emmanuel segura
Maybe you deleted the files, but some process are using the inodes

2013/1/30 Bonno Bloksma b.blok...@tio.nl

 Hi,

 I had a problem that generated A LOT of messages in syslog and it grew
 untill the entire /var partition had 0 bytes free.
 The /var/log/syslog file was over 4GB large. I deleted it using a simple
 rm /var/log/syslog command and the file is indeed no longer there.
 The du /var/log -s command shows a decrease of over 4GB so that seems to
 confirm it but

 There are still 0 bytes free on the /var partition as the df command shows.
 root@linutr:~# df
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/mapper/vgroup1-lvroot
4805760   1306860   3254780  29% /
 tmpfs  3058148 0 3058148   0% /lib/init/rw
 udev   3052820   184   3052636   1% /dev
 tmpfs  3058148 0   3058148   0% /dev/shm
 /dev/cciss/c0d0p1   282599 28719239288  11% /boot
 /dev/mapper/vgroup1-lvusr
4805760472984   4088656  11% /usr
 /dev/mapper/vgroup1-lvvar
9611492   9611492 0 100% /var
 root@linutr:~#

 Also there is still no nerw syslog file, probably because the filesystem
 shows 0 bytes free.
 /var is an ext3 partition

 Should I just unmount /var, and run fsck.ext3 /var or is there something
 else I should do first?
 Is there maybe some background process that is still running through all
 inodes freeing up the 4+GB diskspace?

 Bonno Bloksma


 --
 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/89d1798a7351d040b4e74e0a043c69d71cc5d...@hglexch-01.tio.nl




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: /var full

2013-01-30 Thread emmanuel segura
That's what i means :-)

2013/1/30 Erwan David er...@rail.eu.org

 On Wed, Jan 30, 2013 at 02:15:45PM CET, William Ivanski 
 william.ivan...@gmail.com said:
  On 30-01-2013 11:03, Darac Marjal wrote:
  Linux takes the
  view that, although you've deleted the file, it won't disappear if
  you're still using it. This is very useful for temporary files (create a
  file, open it, delete it and no-one else can overwrite it).
  Man, I didn't know that, very useful. Thanks for sharing! :)

 And you may know which files are still open and deleted by using lsof +L1


 --
 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/20130130132346.gv11...@rail.eu.org




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Bash script problem [OT?]

2012-04-21 Thread emmanuel segura
BK_FULLPATH=${BK_LOCATION}/BACKUP_${DATETIME}.tar.bz2
tar -cjf $BK_FULLPATH $BK_LIST


Il giorno 21 aprile 2012 10:07, Soare Catalin lolinux.so...@gmail.com ha
scritto:

 Hello fellow Linux supporters!

 I apologise if this specific thread is off topic to this mailing list.

 I've been having problems with a backup script and am not sure how to make
 this work.
 So far, Mr. Google hasn't helped me much -- maybe my search terms have
 been as dumb as I'm feeling right now.

 The script will take files or dirs as parameters and will back them up in
 a presefined location, using tar. Problems arise when it will encounter
 files or directories which contain spaces in their names.
 Would anyone be kind enough to tell me where I went wrong with my approach?

 Script is below:

 #!/bin/bash

 #Init stuff DATETIME=`date +%Y_%m_%d.%H_%M` BK_LOCATION=/mnt/work/backup/
 BK_LIST=

 #Test parameters. If dirs and files do exist, add them to a list # that
 will be used as parameters for the tar command.
 for PARAM in $@;
 do
 if [ -d $PARAM ];
 then #is it an existing directory?
 BK_LIST=$BK_LIST ${PARAM}
 else
 if [ -f $PARAM ]; then #is it an existing file?
 BK_LIST=$BK_LIST ${PARAM}
 fi
 fi
 done

 if [ ! -n $BK_LIST ];
 then
 exit 0
 else #this else branch exists for debugging purposes
 echo You have chosen to backup: $BK_LIST
 fi

 BK_FULLPATH=${BK_LOCATION} BACKUP_${DATETIME}.tar.bz2

 tar -cjf $BK_FULLPATH $BK_LIST

 --Regards,
 Sent from my Brick (TM)




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Bash script problem [OT?]

2012-04-21 Thread emmanuel segura
Scusa ho svagliato

BK_FULLPATH=${BK_LOCATION}BACKUP_${DATETIME}.tar.bz2
tar -cjf $BK_FULLPATH $BK_LIST

Il giorno 21 aprile 2012 10:07, Soare Catalin lolinux.so...@gmail.com ha
scritto:

 Hello fellow Linux supporters!

 I apologise if this specific thread is off topic to this mailing list.

 I've been having problems with a backup script and am not sure how to make
 this work.
 So far, Mr. Google hasn't helped me much -- maybe my search terms have
 been as dumb as I'm feeling right now.

 The script will take files or dirs as parameters and will back them up in
 a presefined location, using tar. Problems arise when it will encounter
 files or directories which contain spaces in their names.
 Would anyone be kind enough to tell me where I went wrong with my approach?

 Script is below:

 #!/bin/bash

 #Init stuff DATETIME=`date +%Y_%m_%d.%H_%M` BK_LOCATION=/mnt/work/backup/
 BK_LIST=

 #Test parameters. If dirs and files do exist, add them to a list # that
 will be used as parameters for the tar command.
 for PARAM in $@;
 do
 if [ -d $PARAM ];
 then #is it an existing directory?
 BK_LIST=$BK_LIST ${PARAM}
 else
 if [ -f $PARAM ]; then #is it an existing file?
 BK_LIST=$BK_LIST ${PARAM}
 fi
 fi
 done

 if [ ! -n $BK_LIST ];
 then
 exit 0
 else #this else branch exists for debugging purposes
 echo You have chosen to backup: $BK_LIST
 fi

 BK_FULLPATH=${BK_LOCATION} BACKUP_${DATETIME}.tar.bz2

 tar -cjf $BK_FULLPATH $BK_LIST

 --Regards,
 Sent from my Brick (TM)




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Scripting question

2012-04-17 Thread emmanuel segura
perl -e 'while(){chomp; s/root/Root/g; print  $_\n; }' /etc/passwd



Il giorno 17 aprile 2012 15:52, Eduardo M KALINOWSKI 
edua...@kalinowski.com.br ha scritto:

 On Ter, 17 Abr 2012, Chris wrote:

 Firstly I petty much suck at scripting so I need help.

 I have a file where each line begins with

 Smtp:

 I would like have the Smtp: replaced with To:  leaving all that follows
 in each line untouched and piped into a new file.


 man sed


 --
 The majority of husbands remind me of an orangutang trying to play the
 violin.
-- Honor' e DeBalzac

 Eduardo M KALINOWSKI
 edua...@kalinowski.com.br




 --
 To UNSUBSCRIBE, email to debian-user-REQUEST@lists.**debian.orgwith a
 subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
 Archive: http://lists.debian.org/**20120417105220.Horde.**
 5niudUisJlFPjXWUaIYVfNA@mail.**kalinowski.com.brhttp://lists.debian.org/20120417105220.horde.5niuduisjlfpjxwuaiyv...@mail.kalinowski.com.br




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: A simple regular expression?

2012-03-26 Thread emmanuel segura
This is my version



#!/usr/bin/env perl

use warnings;
use strict;


my $string = 450x35+60+10;

if($string =~ m/(\d+)[x-](\d+)\+(\d+)\+(\d+)/)
{
my @list = $string =~ m/(\d+)[x-](\d+)\+(\d+)\+(\d+)/;
print scalar @list . : .   . join(=,@list) . \n;
}


Il giorno 26 marzo 2012 12:05, Per Carlson pe...@hemmop.com ha scritto:

 Hi Klaus.

  my $re = qr/(\d+)[x](\d+)[+-](\d+)[+-](\d+)/;
  my @line = split(/$re/, $str);

 You are using split the wrong way. The regexp shold only be the
 *delimiters*.

 Here's my two alternative ways to accomplish the task:

 # use the match operator with the regexp
 my @l2 = $str =~ m/$re/;
 say scalar(@l2), : ,join(=,@l2);

 # split the string based on the delimiters
 my @l3 = split(/[x+-]/, $str);
 say scalar(@l3), : ,join(=,@l3);

 Both will print the string:

 4: 760=35=10=20

 --
 Pelle

 D’ä e å, vett ja”, skrek ja, för ja ble rasen,
 ”å i åa ä e ö, hörer han lite, d’ä e å, å i åa ä e ö
 - Gustav Fröding, 1895


 --
 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/caourynaw1wrnxe6gx+ezf6cgk9s_oqhmzq80poywj+__c_...@mail.gmail.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Problem with Kerberos5 using LDAP backend

2012-03-06 Thread emmanuel segura
try to change
==
[domain_realm]
   .example.es = example.ES
   example.es = example.ES
==
to
==
[domain_realm]
   .example.es = EXAMPLE.ES
   example.es = EXAMPLE.ES


Il giorno 06 marzo 2012 13:31, Arturo Borrero Gonzalez 
cer.i...@linuxmail.org ha scritto:

 Hi there!

 I'm using the package krb5-kdc-ldap to use mi kerberos with LDAP backend.
 I've followed the debian and ubuntu documentation and I find some
 issues I can't solve:

 · I fill the LDAP tree using the kdb5_ldap_util as seen in
 documentation. The LDAP server is correctly written.
 · The stash are created, with the neccesary credentials.
 · When initializing the admin interface, with kadmin.local, i get:

 kadmind[26023](Error): Can not fetch master key (error: Cannot
 find/read stored master key). while initializing, aborting

 The same when starting the service in /etc/init.d. In both cases, the
 LDAP server is strongly readed:

 krb5kdc: Can not fetch master key (error: Cannot find/read stored
 master key). - while fetching master key K/M for realm EXAMPLE.ES

 So, I think the options are:
 1) In the LDAP server some information is missing (a bug in
 kdb5_ldap_util?)
 2) There is something I don't understand in the procedure.

 My config is:

 ##
 cat /etc/krb5.conf

 [libdefaults]
default_realm = EXAMPLE.ES
forwadable = true
proxiable = true

 [realms]

EXAMPLE.ES = {
kdc = krb-krb.example.es
admin_server = krb-krb.example.es
default_domain = example.es
database_module = openldap_ldapconf
}

 [domain_realm]
.example.es = example.ES
example.es = example.ES

 [login]
krb4_convert = true
krb4_get_tickets = false

 [logging]
kdc = FILE:/var/log/kerberos/krb5kdc.log
admin_server = FILE:/var/log/kerberos/kadmin.log
default = FILE:/var/log/kerberos/krb5lib.log

 [dbdefaults]
ldap_kerberos_container_dn = ou=krb5,dc=example,dc=es

 [dbmodules]
openldap_ldapconf = {
db_library = kldap
ldap_kdc_dn = cn=admin,dc=example,dc=es

# this object needs to have read rights on
# the realm container, principal container and realm
 sub-trees
ldap_kadmind_dn = cn=admin,dc=example,dc=es

# this object needs to have read and write rights on
# the realm container, principal container and realm
 sub-trees
ldap_service_password_file = /etc/krb5kdc/service.keyfile
ldap_servers = ldap://krb-ldap.example.es
ldap_conns_per_server = 5
}

 ##

 cat /etc/krb5kdc/kdc.conf

 [kdcdefaults]
kdc_ports = 750,88

 [realms]
example.ES = {
database_name = /var/lib/krb5kdc/principal
acl_file = /etc/krb5kdc/kadm5.acl
key_stash_file = /etc/krb5kdc/service.keyfile
kdc_ports = 750,88
max_life = 10h 0m 0s
max_renewable_life = 7d 0h 0m 0s
master_key_type = des3-hmac-sha1
supported_enctypes = aes256-cts:normal arcfour-hmac:normal
 des3-hmac-sha1:normal des-cbc-crc:normal des:normal des:v4 des:norealm
 des:onlyrealm des:$
default_principal_flags = +preauth
}


 ##

 kadmin.local debug (strace). In pastebin because there are a lot of lines:
 http://pastebin.com/h7fLYFKD

 Any idea?

 Best regards.

 --
 /* Arturo Borrero Gonzalez || cer.i...@linuxmail.org */
 /* Use debian gnu/linux! Best OS ever! */


 --
 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/capfcjauewo-oqpclagji+o5e-mcv7xyfxkoaqjdyd7jrv_e...@mail.gmail.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Bash Script regular expression

2012-02-10 Thread emmanuel segura
while read line;
do
echo $line
done  rsa


2012/2/10 Alejandro Rodriguez Luna el_alexl...@yahoo.com.mx

 Hi everyone, I was creating a script and i found something i can't figure
 out.

 #/bin/bash
 for i in $(cat certificates.txt)
 do
 echo $i
 done

 I expected this

 RSA Secure Server Certification Authority
 VeriSign Class 1 CA Individual Subscriber-Persona Not Validated


 but i got this

 RSA
 Secure
 Server
 Certification
 Authority
 VeriSign
 Class
 1
 CA
 Individual
 Subscriber-Persona
 Not
 Validated

  any ideas how to fix this? i mean, how can i get the whole line instead
 of word by word?

 --
 Alejandro Rodriguez Luna
 E-mail: el_alexl...@yahoo.com.mx
 Movil: 044-311-112-86-41
 --




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: EFI

2012-02-02 Thread emmanuel segura
grep xfs /proc/filesystems

echo $?


2012/2/2 Gábor Illó stagel...@gmail.com

 Dear Debian users!

 I have 1 strorage disk connected in USB port. I need mount EFI
 filesystem storage to my server.


 fdisk -l

 WARNING: GPT (GUID Partition Table) detected on '/dev/sdr'! The util
 fdisk doesn't support GPT. Use GNU Parted.

 Note: sector size is 4096 (not 512)

 Disk /dev/sdr: 3000.6 GB, 3000558944256 bytes
 255 heads, 63 sectors/track, 45599 cylinders
 Units = cylinders of 16065 * 4096 = 65802240 bytes
 Sector size (logical/physical): 4096 bytes / 4096 bytes
 I/O size (minimum/optimal): 4096 bytes / 4096 bytes
 Disk identifier: 0x5a787e57

   Device Boot  Start End  Blocks   Id  System
 /dev/sdr1   1   45600  2930233340   ee  GPT
 Partition 1 does not start on physical sector boundary.

 mount -t xfs /dev/sdr1 /mnt/usb/sdr1

 mount: wrong fs type, bad option, bad superblock on /dev/sdr1,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

 file /mnt/usb/sdr1
 /mnt/usb/sdr1: directory

 parted /dev/sdr print

 Model: WD My Book 1130 (scsi)
 Disk /dev/sdr: 3001GB
 Sector size (logical/physical): 4096B/4096B
 Partition Table: gpt

 Number  Start   End SizeFile system  Name  Flags
  1  24.6kB  210MB   210MBEFI System Partition  boot
  2  210MB   3000GB  3000GB   Untitled

 Anyone have idea?


 --
 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/cacmt-5ezp7hecefrwgfz2r4aocvlyhhuh7zwz2tvfxep+tq...@mail.gmail.com




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Squeeze64: LD_LIBRARY_PATH / ignored or overwritten under X

2012-01-12 Thread emmanuel segura
Try to use /etc/ld.so.conf for load your library

2012/1/12 Denny Schierz linuxm...@4lin.net

 hi,

 I've created a file /etc/profile.d/path.sh

 with:

 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni
 export LD_LIBRARY_PATH

 If you log in on a plain shell, it works, but if you log in via X
 (kde/gnome/fluxbox) and open a terminal (konsole/gnome-terminal/xterm) my
 special path /usr/lib/jni is missing. If you start in a terminal bash
 -l you get the missing path.

 I need /usr/lib/jni for Eclipse (I really hate java), otherwise Eclipse
 doesn't find SVN libs.

 What could be the problem?

 cu denny

 --
 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/9996c20a-27f0-43a5-9ad0-706180c67...@4lin.net




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Squeeze64: LD_LIBRARY_PATH / ignored or overwritten under X

2012-01-12 Thread emmanuel segura
Try to do this

set -x

source /etc/profile

like that you can see if you have some syntax error

2012/1/12 Denny Schierz linuxm...@4lin.net

 hi,
 Am 12.01.2012 um 13:56 schrieb emmanuel segura:

  Try to use /etc/ld.so.conf for load your library

 nope, Sun Java parses the LD_LIBRARY_PATH variable, so it won't work:

 https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/366728
 http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg1511703.html

 disable ssh-agent in Xsession/options helps.

 cu denny


 --
 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/0ca626a6-deb3-4dd2-a0ff-2faad149c...@4lin.net




-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: can't serve php files in apache2

2010-11-12 Thread emmanuel segura
AddType application/x-httpd-php .php

2010/11/12 Zachary Uram net...@gmail.com:
 Running Debian testing, I installed libapache2-mod-php5, php5,
 php5-common, php5-cgi, php-pear and created a test file info.php
 which is 1 line ?php phpinfo(); ?
 However when I go to http://myserver.org/info.php it prompts me to
 download the PHP file instead of executing it and displaying the
 result. I've tried with firefox and IE and get the same result. Any
 idea how to get this working?

 Zach

  http://www.fidei.org 


 --
 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/aanlktinqeofzztc0x+cygqwk14vemyc2dd_wqqysc...@mail.gmail.com





-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
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/aanlktinutemn8-aw-qrfrcea1l-pt2cnma88taskm...@mail.gmail.com



Re: can't serve php files in apache2

2010-11-12 Thread emmanuel segura
if using apache2 look in -l /etc/apache2/mod-enable/*.conf

2010/11/12 Zachary Uram net...@gmail.com:
 On Fri, Nov 12, 2010 at 7:13 AM, emmanuel segura emi2f...@gmail.com wrote:
 AddType application/x-httpd-php .php

 To which file do I add this?

 Zach




-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
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=objjuadm1j55ib6jv9pfkrkfrqwm_x=l-7...@mail.gmail.com



Re: copy via rsync

2010-09-10 Thread emmanuel segura
try to look this link
http://www.cyberciti.biz/faq/tunning-linux-ext3-filesystem/

2010/9/10 Jakub Jedelsky jakub.jedel...@gmail.com:
 Hi list!

 I want to copy a lot of files via rsync (about 200GB), but the process
 ends in D state after some time. In /var/log/kern.log I have this error:

 Sep 10 09:26:45 servername kernel: [31527915.475952] EXT3-fs warning
 (device md2): ext3_dx_add_entry: Directory index full!

 Any ideas?

 Server info:
 # uname -a
 Linux d1241 2.6.26-2-amd64 #1 SMP Wed Aug 19 22:33:18 UTC 2009 x86_64
 GNU/Linux

 # cat /etc/debian_version
 5.0.3

 Many thanks for reply!

 Jakub Jedelsky.


 --
 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/4c89e5e9.60...@gmail.com





-- 
esta es mi vida e me la vivo hasta que dios quiera


-- 
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/aanlktindwmxr++9gyjus5x1zl4uhsh8oxxewyooec...@mail.gmail.com



Re: setting password via script

2010-08-10 Thread emmanuel segura
openssl  passwd -1 test01
output = $1$q.C/Xn5Q$AkvYZAwzTkpGF.Q9O/NC90

usermod -p $1$q.C/Xn5Q$AkvYZAwzTkpGF.Q9O/NC90 your_username

i hope this can be enough

:-)


2010/8/10 Jordon Bedwell jor...@envygeeks.com:
 On Tue, 2010-08-10 at 01:52 +, T o n g wrote:
 Hi,

 What's the easiest way to set password for user account via script?
 The most common tool would be fine, even if it means that the password
 has to be clear text.

 Thanks

 --
 Tong (remove underscore(s) to reply)
   http://xpt.sourceforge.net/techdocs/
   http://xpt.sourceforge.net/tools/



 You can write passwords directly to /etc/shadow as root, but it's rather
 dangerous to do, but I shouldn't be here to warn you and caution you
 since you should already know all this, on to the example:

 echo user_password|openssl passwd -1 -stdin
 $id$salt$encrypted_password

 root:$1$RsTbBahJ$2NjYxhHostQUasMcczo1T0:14824:0:9:7:::


 --
 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/1281409266.14430.123.ca...@envygeeks





-- 
esta es mi vida e me la vivo hasta que dios quiera


--
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/aanlktik4j8y=4+yhddyff-uh_6su0be52d_eu0igv...@mail.gmail.com



Re: setting password via script

2010-08-10 Thread emmanuel segura
thanks

2010/8/10 Martin Kraus lists...@wujiman.net:
 On Tue, Aug 10, 2010 at 11:03:33AM +0200, emmanuel segura wrote:
 openssl  passwd -1 test01
 output = $1$q.C/Xn5Q$AkvYZAwzTkpGF.Q9O/NC90

 usermod -p $1$q.C/Xn5Q$AkvYZAwzTkpGF.Q9O/NC90 your_username

 i hope this can be enough

 echo user:password | chpasswd

 mk




-- 
esta es mi vida e me la vivo hasta que dios quiera


--
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/aanlktimv+ohomudu5tuqvvldc+2smqsn0pn37h5pl...@mail.gmail.com