[CentOS] CentOS 7: samba 4.10.x: smbd daemon cannot free space used from the spool temp file removed

2021-05-18 Thread Dario Lesca
/samba/smbprn.bLuZXv (deleted)
smbd  11962nobody   46u  REG  253,75603883  
   85 /var/spool/samba/smbprn.MIA8uL (deleted)
smbd  11962nobody   47u  REG  253,7 129605  
  103 /var/spool/samba/smbprn.vv4vRt (deleted)
smbd  11962nobody   48u  REG  253,7  82219  
  115 /var/spool/samba/smbprn.dHbGuR (deleted)
smbd  11962nobody   49u  REG  253,7  65393  
   89 /var/spool/samba/smbprn.btj79i (deleted)
smbd  11962nobody   50u  REG  253,7 774651  
   90 /var/spool/samba/smbprn.6bMjov (deleted)
smbd  11962nobody   51u  REG  253,7 873423  
   91 /var/spool/samba/smbprn.qM3VjY (deleted)

The /var/spool/samba folder is empty, but the smbprn temp file still
use the space on filesystem because the file is already open, and after
a while i get a filesystem full on /var.

Is this a know issue?
There is some solution?

Many thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 33 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos8: Glusterd do not start correctly when I startup or reboot all server together

2020-10-02 Thread Dario Lesca
The systemd glusterd.service unit modify do not resolve my problem

The solution is mount the glusterfs volume with this line into
/etc/fstab:
   virt2:/gfsvol2 /virt-gfs glusterfs 
defaults,_netdev,noauto,x-systemd.automount,x-systemd.device-timeout=20,x-systemd.requires=glusterd.service
 0 0

run 
   systemctl daemon-reload

and run this for mount the volume
   systemctl restart virt\\x2dgfs.mount

Now all work fine, also when I reboot or when I power on all server
together

Many thanks
Dario

Il giorno lun, 28/09/2020 alle 22.40 +0200, Dario Lesca ha scritto:
> I have install and configure on two server centos8 glusterfs in
> replica
> mode in this manner:
> 
>dnf install centos-release-gluster -y
>dnf install glusterfs-server glusterfs glusterfs-fuse -y
>systemctl enable --now glusterd
>gluster peer probe virt1
>gluster peer status
>sh creavolume.sh gfsvol1 301G /gfsvol1 xfs
># NOTE: this is a my shell script to create fs on lvm
>mkdir /gfsvol1/brick1
>gluster pool list
>gluster volume create gfsvol1 replica 2 virt1:/gfsvol1/brick1
>virt2:/gfsvol1/brick1 force
>gluster volume start gfsvol1
>gluster volume info gfsvol1
>gluster volume status gfsvol1
>gluster volume heal gfsvol1
># add to /etc/fstab
>vi /etc/fstab
>virt1:/gfsvol2 /virt-gfs glusterfs defaults,noatime,_netdev 0 0

virt2:/gfsvol2 /virt-gfs glusterfs 
defaults,_netdev,noauto,x-systemd.automount,x-systemd.device-timeout=20,x-systemd.requires=glusterd.service
 0 0

>mkdir /virt-gfs
>mount -a
> 
> All work fine but when I start or restart all server together
> glusterd
> server start but if I try mount the volume, gluster is not working.
> 
> At this point if I restart the glusterd service and run "mount -a"
> all
> work fine.
> 
> Seem is a boot network problem
> 
> Then I have try modify glusterd.service with 
> 
> $ sudo systemctl edit  glusterd.service --full
> 
> And modify the unit in this way:
> 
>#old
>< After=network.target
>< Before=network-online.target
>#new
>> After=network.target network-online.target
>> #Before=network-online.target
> 
> Now all work fine, mostly when I start or restart all server
> together.
> 
> There is another solution or this is a Bug?
> 
> Many thanks for your suggest
> 
-- 
Dario Lesca
(inviato dal mio Linux Fedora 32 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos8: Glusterd do not start correctly when I startup or reboot all server together

2020-09-28 Thread Dario Lesca
I have install and configure on two server centos8 glusterfs in replica
mode in this manner:

   dnf install centos-release-gluster -y
   dnf install glusterfs-server glusterfs glusterfs-fuse -y
   systemctl enable --now glusterd
   gluster peer probe virt1
   gluster peer status
   sh creavolume.sh gfsvol1 301G /gfsvol1 xfs
   # NOTE: this is a my shell script to create fs on lvm
   mkdir /gfsvol1/brick1
   gluster pool list
   gluster volume create gfsvol1 replica 2 virt1:/gfsvol1/brick1
   virt2:/gfsvol1/brick1 force
   gluster volume start gfsvol1
   gluster volume info gfsvol1
   gluster volume status gfsvol1
   gluster volume heal gfsvol1
   # add to /etc/fstab
   vi /etc/fstab
   virt1:/gfsvol2   /virt-gfs glusterfs defaults,noatime,_netdev 0
   0
   mkdir /virt-gfs
   mount -a

All work fine but when I start or restart all server together glusterd
server start but if I try mount the volume, gluster is not working.

At this point if I restart the glusterd service and run "mount -a" all
work fine.

Seem is a boot network problem

Then I have try modify glusterd.service with 

$ sudo systemctl edit  glusterd.service --full

And modify the unit in this way:

   #old
   < After=network.target
   < Before=network-online.target
   #new
   > After=network.target network-online.target
   > #Before=network-online.target

Now all work fine, mostly when I start or restart all server together.

There is another solution or this is a Bug?

Many thanks for your suggest

-- 
Dario Lesca
(inviato dal mio Linux Fedora 32 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS8 and proftpd with quota file module enable

2020-05-10 Thread Dario Lesca
Hi, someone can help me on this follow problem?

I have also write to proftpd ML and if someone give me some suggest I
let you know.

Many thanks for your reply.

Dario 

--- Messaggio inoltrato ---
Da: Dario Lesca 
Rispondi a: proftp-u...@lists.sourceforge.net
A: proftp-u...@lists.sourceforge.net
Oggetto: [Proftpd-user] proftpd-1.3.6c on centos8: When 
mod_quotatab_file is enable, the get command give "get: Access failed: 
550 aa.sh: No such file or directory"
Data: Sat, 09 May 2020 11:51:00 +0200

Hello every body! this is my first post on this ML

I have install (via dnf) and configure proftpd-1.3.6c on centos 8.1 up
to date without modify the basic configuration file and add my modules
configuration file under include folder /etc/proftpd/conf.d/

Then I have enable the mod_quotatab_file, configure it and initialize
the Quota*Table file

   QuotaLimitTable file:/etc/proftpd/ftpquota.limittab
   QuotaTallyTable file:/etc/proftpd/ftpquota.tallytab

All work fine except get command, when I try get a existent file
uploaded, i obtain this error:

   "get: Access failed: 550 aa.sh: No such file or directory"

The aa.sh file exist and it have the right access, see this example
session:

   $ lftp -uftpste:mypass ftp://localhost -e 'site quota;ls aa.sh;lcd
/tmp;get aa.sh;exit'
   200-The current quota for this session are [current/limit]:
   Name: ftpste
   Quota Type: User
   Per Session: False
   Limit Type: Hard
 Uploaded Mb:  0.69/5000.00
 Downloaded Mb:unlimited
 Transferred Mb:   unlimited
 Uploaded files:   unlimited
 Downloaded files: unlimited
 Transferred files:unlimited
   200 Please contact root@localhost if these entries are inaccurate
   -rw-r--r--   1 ftpste   gftpste33 Dec  3 14:31 aa.sh
   lcd ok, local cwd=/tmp
   get: Access failed: 550 aa.sh: No such file or directory

I have investigate with debug enable and "strace -p" during get
session and I have realize that when this modules is enable (if it's
disable get work fine), the  file is searched under / (/aa.sh) rather
than into folder in which it is located: theuser's home in this case

lstat("/aa.sh", 0x7ffe6dce9ed0) = -1 ENOENT (No such file or directory)

If I create a empty file under / (touch /aa.sh) the get command work
and the file obtained is the right file present into home folder.

Is this a bug or there is some misconfiguration in my files?

Many thanks for reply.

-- 
Dario Lesca
(inviato dal mio Linux Fedora 32 Workstation)



___
ProFTPD Users List   
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
-- 
Dario Lesca
(inviato dal mio Linux Fedora 32 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos7: pptpd vpn problem: mppe_decompress[0]: FLUSHED bit not set in stateless mode!

2018-03-27 Thread Dario Lesca
Il giorno lun, 26/03/2018 alle 07.19 -0700, Gordon Messmer ha scritto:
> If your client router supports IPSec, it will be vastly more secure.

Yes, the router have IPsec.
Then I power off  PPTP and configure and enable IPsec

Many thanks


-- 
Dario Lesca
(inviato dal mio Linux Fedora 27 Workstation)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos7: pptpd vpn problem: mppe_decompress[0]: FLUSHED bit not set in stateless mode!

2018-03-26 Thread Dario Lesca
I have also try to use this VPN connection from my Fedora Workstation
and all work fine, seem a problem of router Vodafone Station.

This is a ping from server to V.S. when the V.S. is connected:

[root@s-virt tmp]# ping 192.168.11.100
PING 192.168.11.100 (192.168.11.100) 56(84) bytes of data.
64 bytes from 192.168.11.100: icmp_seq=1 ttl=64 time=63.3 ms
mar 26 15:33:06 s-virt.ansaldi.loc kernel: mppe_decompress[0]: FLUSHED
bit not set in stateless mode!
64 bytes from 192.168.11.100: icmp_seq=3 ttl=64 time=76.4 ms
mar 26 15:33:08 s-virt.ansaldi.loc kernel: mppe_decompress[0]: FLUSHED
bit not set in stateless mode!
64 bytes from 192.168.11.100: icmp_seq=5 ttl=64 time=63.8 ms
mar 26 15:33:10 s-virt.ansaldi.loc kernel: mppe_decompress[0]: FLUSHED
bit not set in stateless mode!
64 bytes from 192.168.11.100: icmp_seq=7 ttl=64 time=63.9 ms
^C
--- 192.168.11.100 ping statistics ---
7 packets transmitted, 4 received, 42% packet loss, time 6002ms
rtt min/avg/max/mdev = 63.364/66.895/76.414/5.508 ms

Many thanks

Il giorno lun, 26/03/2018 alle 13.03 +0200, Dario Lesca ha scritto:
> I try to setup a PPTP VPN server on Centos 7 and from client a router
> Vodafone Station (Firmware 5.4.8.1.316.1.21)
> 
> On c7 I have install this:
> 
> [root@s-virt tmp]# rpm -q pptpd ppp
> pptpd-1.4.0-2.el7.x86_64
> ppp-2.4.5-33.el7.x86_64
> 
> 
> and setup all file and firewall like howto say.
> This now is my config:
> 
> /etc/pptpd.conf:option /etc/ppp/options.pptpd
> /etc/pptpd.conf:logwtmp
> /etc/pptpd.conf:localip 192.168.11.1
> /etc/pptpd.conf:remoteip 192.168.11.100-109
> /etc/ppp/options.pptpd:name pptpd
> /etc/ppp/options.pptpd:refuse-pap
> /etc/ppp/options.pptpd:refuse-chap
> /etc/ppp/options.pptpd:refuse-mschap
> /etc/ppp/options.pptpd:require-mschap-v2
> /etc/ppp/options.pptpd:require-mppe-128
> /etc/ppp/options.pptpd:lock
> /etc/ppp/options.pptpd:nobsdcomp 
> /etc/ppp/options.pptpd:novj
> /etc/ppp/options.pptpd:novjccomp
> /etc/ppp/options.pptpd:nologfd
> /etc/ppp/chap-secrets:myuser  pptpd   mypass*
> 
> The connection from V.S. router to my c7 server work:
> 
> mar 26 12:50:28 s-virt.ansaldi.loc pptpd[26782]: CTRL: Client x.x.x.x
> control connection started
> mar 26 12:50:28 s-virt.ansaldi.loc pptpd[26782]: CTRL: Starting call
> (launching pppd, opening GRE)
> mar 26 12:50:28 s-virt.ansaldi.loc pppd[26783]: Plugin
> /usr/lib64/pptpd/pptpd-logwtmp.so loaded.
> mar 26 12:50:28 s-virt.ansaldi.loc pppd[26783]: pppd 2.4.5 started by
> root, uid 0
> mar 26 12:50:28 s-virt.ansaldi.loc pppd[26783]: Using interface ppp0
> mar 26 12:50:28 s-virt.ansaldi.loc pppd[26783]: Connect: ppp0 <-->
> /dev/pts/19
> mar 26 12:50:28 s-virt.ansaldi.loc NetworkManager[1026]:
>   [1522061428.6946] manager: (ppp0): new Generic device (
> /org/freedesktop/NetworkManager/Devices/40)
> mar 26 12:50:28 s-virt.ansaldi.loc pppd[26783]: peer from calling
> number x.x.x.x authorized
> mar 26 12:50:31 s-virt.ansaldi.loc pppd[26783]: MPPE 128-bit
> stateless compression enabled
> mar 26 12:50:34 s-virt.ansaldi.loc pppd[26783]: local  IP address
> 192.168.11.1
> mar 26 12:50:34 s-virt.ansaldi.loc pppd[26783]: remote IP address
> 192.168.11.100
> 
> But when I try to connect from a client (through the V. S. router) to
> my server via VPN, or ping it, on 4 ping only two work, and into log
> of server I see this error when the ping fail.
> 
> > mar 26 12:00:50 s-virt.ansaldi.loc kernel: mppe_decompress[0]:
> FLUSHED bit not set in stateless mode!
> 
> Someone have some suggest to resolve this problem ?
> 
> Many thanks
> 


-- 
Dario Lesca
(inviato dal mio Linux Fedora 27 Workstation)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] centos7: pptpd vpn problem: mppe_decompress[0]: FLUSHED bit not set in stateless mode!

2018-03-26 Thread Dario Lesca
I try to setup a PPTP VPN server on Centos 7 and from client a router
Vodafone Station (Firmware 5.4.8.1.316.1.21)
On c7 I have install this:
[root@s-virt tmp]# rpm -q pptpd ptpd-1.4.0-2.el7.x86_64ppp-2.4.5-
33.el7.x86_64
and setup all file and firewall like howto say.This now is my config:
/etc/pptpd.conf:option
/etc/ppp/options.pptpd/etc/pptpd.conf:logwtmp/etc/pptpd.conf:localip
192.168.11.1/etc/pptpd.conf:remoteip 192.168.11.100-
109/etc/ppp/options.pptpd:name pptpd/etc/ppp/options.pptpd:refuse-
pap/etc/ppp/options.pptpd:refuse-chap/etc/ppp/options.pptpd:refuse-
mschap/etc/ppp/options.pptpd:require-mschap-
v2/etc/ppp/options.pptpd:require-mppe-
128/etc/ppp/options.pptpd:lock/etc/ppp/options.pptpd:nobsdcomp /etc/ppp
/options.pptpd:novj/etc/ppp/options.pptpd:novjccomp/etc/ppp/options.ppt
pd:nologfd/etc/ppp/chap-secrets:myuser  pptpd   mypass*

The connection from V.S. router to my c7 server work:mar 26 12:50:28 s-
virt.ansaldi.loc pptpd[26782]: CTRL: Client x.x.x.x control connection
startedmar 26 12:50:28 s-virt.ansaldi.loc pptpd[26782]: CTRL: Starting
call (launching pppd, opening GRE)mar 26 12:50:28 s-virt.ansaldi.loc
pppd[26783]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.so loaded.mar 26
12:50:28 s-virt.ansaldi.loc pppd[26783]: pppd 2.4.5 started by root,
uid 0mar 26 12:50:28 s-virt.ansaldi.loc pppd[26783]: Using interface
ppp0mar 26 12:50:28 s-virt.ansaldi.loc pppd[26783]: Connect: ppp0 <-->
/dev/pts/19mar 26 12:50:28 s-virt.ansaldi.loc NetworkManager[1026]:
  [1522061428.6946] manager: (ppp0): new Generic device
(/org/freedesktop/NetworkManager/Devices/40)mar 26 12:50:28 s-
virt.ansaldi.loc pppd[26783]: peer from calling number x.x.x.x
authorizedmar 26 12:50:31 s-virt.ansaldi.loc pppd[26783]: MPPE 128-bit
stateless compression enabledmar 26 12:50:34 s-virt.ansaldi.loc
pppd[26783]: local  IP address 192.168.11.1mar 26 12:50:34 s-
virt.ansaldi.loc pppd[26783]: remote IP address 192.168.11.100
But when I try to connect from a client (through the V. S. router) to
my server via VPN, or ping it, on 4 ping only two work, and into log of
server I see this error when the ping fail.
> mar 26 12:00:50 s-virt.ansaldi.loc kernel: mppe_decompress[0]:
> FLUSHED bit not set in stateless mode!

Someone have some suggest to resolve this problem ?
Many thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 27 Workstation)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos7: backup with rsync problem: "rsync: rsync_xal_set: lremovexattr(""/tmp/test/etc/fstab"", "security.selinux") failed: Permission denied (13)"

2017-12-18 Thread Dario Lesca
If I run this command in order to backup /etc from remote server to
local dir I get a lot of this message:

[root@s-virt tmp]# rsync -a --delete --numeric-ids --relative 
--delete-excluded --compress --acls --xattrs  rsync://server-dati/root/etc/ 
/tmp/test/ -v
receiving incremental file list
rsync: rsync_xal_set: 
lremovexattr(""/tmp/test/etc/fstab"","security.selinux") failed: Permission 
denied (13)
rsync: rsync_xal_set: 
lremovexattr(""/tmp/test/etc/resolv.conf"","security.selinux") failed: 
Permission denied (13)
rsync: rsync_xal_set: 
lremovexattr(""/tmp/test/etc/rsyncd.conf"","security.selinux") failed: 
Permission denied (13)
rsync: rsync_xal_set: 
lremovexattr(""/tmp/test/etc/rsyncd.secrets"","security.selinux") failed: 
Permission denied (13)
rsync: rsync_xal_set: 
lremovexattr(""/tmp/test/etc/lvm/archive/dati_1-728488062.vg"","security.selinux")
 failed: Permission denied (13)
rsync: rsync_xal_set: 
lremovexattr(""/tmp/test/etc/lvm/backup/dati"","security.selinux") failed: 
Permission denied (13)
rsync: rsync_xal_set: 
lremovexattr(""/tmp/test/etc/samba/.smb.conf.swp"","security.selinux") failed: 
Permission denied (13)
rsync: rsync_xal_set: 
lremovexattr(""/tmp/test/etc/samba/smb.conf"","security.selinux") failed: 
Permission denied (13)
rsync: rsync_xal_set: 
lremovexattr(""/tmp/test/etc/systemd/system/multi-user.target.wants/rsyncd.service"","security.selinux")
 failed: Permission denied (13)

sent 671 bytes  received 49804 bytes  100950.00 bytes/sec
total size is 30375007  speedup is 601.78
rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1518) [generator=3.0.9]

I have also try to "setenforce 0" but the result is the same

It's possible to do a full backup of remote /etc with SElinux attrs to
a local dir?

Many thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 27 Workstation)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 7: avc: denied { reload } for auid=0 uid=0 gid=0 cmdline="/usr/bin/systemctl reload named-chroot.service" ....

2017-12-17 Thread Dario Lesca
How to resolve this SElinux problem?

type=USER_AVC msg=audit(1513478641.700:1920): pid=1 uid=0 auid=4294967295 
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc:  denied  { reload } 
for auid=0 uid=0 gid=0 cmdline="/usr/bin/systemctl reload named-chroot.service" 
scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 
tcontext=system_u:system_r:init_t:s0 tclass=service  
exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
type=USER_AVC msg=audit(1513478641.702:1921): pid=1 uid=0 auid=4294967295 
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc:  denied  { reload } 
for auid=0 uid=0 gid=0 cmdline="/usr/bin/systemctl reload named-sdb.service" 
scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 
tcontext=system_u:system_r:init_t:s0 tclass=service  
exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
type=USER_AVC msg=audit(1513478641.703:1922): pid=1 uid=0 auid=4294967295 
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc:  denied  { reload } 
for auid=0 uid=0 gid=0 cmdline="/usr/bin/systemctl reload 
named-sdb-chroot.service" scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 
tcontext=system_u:system_r:init_t:s0 tclass=service  
exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
type=USER_AVC msg=audit(1513478641.704:1923): pid=1 uid=0 auid=4294967295 
ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc:  denied  { reload } 
for auid=0 uid=0 gid=0 cmdline="/usr/bin/systemctl reload named-pkcs11.service" 
scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 
tcontext=system_u:system_r:init_t:s0 tclass=service  
exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'

Many thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 27 Workstation)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] [Fwd: CIA Outlaw Country attack against CentOS / Rhel (and Fedora?) Is this credible?]

2017-06-30 Thread Dario Lesca
Do you know this?
Dario

--- Messaggio inoltrato ---
Da: stan <stanl-fedorau...@vfemail.net>
Reply-to: Community support for Fedora users
<us...@lists.fedoraproject.org>
A: us...@lists.fedoraproject.org
Oggetto: CIA Outlaw Country attack against CentOS / Rhel  (and Fedora?)
 Is this credible?
Data: Thu, 29 Jun 2017 15:51:43 -0700

Wikileaks released a document about an attack against CentOS / Rhel.

https://wikileaks.org/vault7/#OutlawCountry

Here's the text, there are some docs there also.

OutlawCountry
29 June, 2017

Today, June 29th 2017, WikiLeaks publishes documents from the
OutlawCountry project of the CIA that targets computers running the
Linux operating system. OutlawCountry allows for the redirection of all
outbound network traffic on the target computer to CIA controlled
machines for ex- and infiltration purposes. The malware consists of a
kernel module that creates a hidden netfilter table on a Linux target;
with knowledge of the table name, an operator can create rules that
take precedence over existing netfilter/iptables rules and are
concealed from an user or even system administrator.

The installation and persistence method of the malware is not described
in detail in the document; an operator will have to rely on the
available CIA exploits and backdoors to inject the kernel module into a
target operating system. OutlawCountry v1.0 contains one kernel module
for 64-bit CentOS/RHEL 6.x; this module will only work with default
kernels. Also, OutlawCountry v1.0 only supports adding covert DNAT
rules to the PREROUTING chain.


My first take is that this doesn't represent a very serious threat.  Do
you disagree?
___
users mailing list -- us...@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
-- 
Dario Lesca
(inviato dal mio Linux Fedora 25 Workstation)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 7: .tons of messages logs (systemd-logind[663]: Got message type....)

2017-02-17 Thread Dario Lesca
On my Centos 7 update, into "journalctl -f" I have tons of this kind of
message

> feb 17 23:52:09 s-ispc.local systemd-logind[663]: Got message type=signal 
> sender=:1.0 destination=n/a 
> object=/org/freedesktop/systemd1/unit/php_2dfpm_2eservice 
> interface=org.freedesktop.DBus.Properties member=PropertiesChanged 
> cookie=17152 reply_cookie=0 error=n/a
> feb 17 23:52:09 s-ispc.local systemd-logind[663]: Got message type=signal 
> sender=:1.0 destination=n/a 
> object=/org/freedesktop/systemd1/unit/php_2dfpm_2eservice 
> interface=org.freedesktop.DBus.Properties member=PropertiesChanged 
> cookie=17153 reply_cookie=0 error=n/a
> feb 17 23:52:11 s-ispc.local systemd-logind[663]: Got message type=signal 
> sender=:1.0 destination=n/a 
> object=/org/freedesktop/systemd1/unit/httpd_2eservice 
> interface=org.freedesktop.DBus.Properties member=PropertiesChanged 
> cookie=17154 reply_cookie=0 error=n/a
> feb 17 23:52:11 s-ispc.local systemd-logind[663]: Got message type=signal 
> sender=:1.0 destination=n/a 
> object=/org/freedesktop/systemd1/unit/httpd_2eservice 
> interface=org.freedesktop.DBus.Properties member=PropertiesChanged 
> cookie=17155 reply_cookie=0 error=n/a

And into /var/log/messages I have this warning message:
> rsyslogd-2177: imjournal: begin to drop messages due to rate-limiting

What is happening?

It is possible to stop this message?

Many thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 25 Workstation)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Alternative to cPanel

2016-12-22 Thread Dario Lesca
Il giorno gio, 15/12/2016 alle 15.17 +, FrancisM ha scritto:
> Im looking for alternative for cPanel and somehow

ISPconfig is open source and work well.

http://www.ispconfig.org/documentation/

-- 
Dario Lesca
(inviato dal mio Linux Fedora 24 Workstation)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7/GNOME 3 customise top panel

2016-10-15 Thread Dario Lesca
Il giorno ven, 14/10/2016 alle 14.39 +0200, Toralf Lund ha scritto:
> I want to add "application launchers", as it will make start-up
> faster than the standard alternatives.

Gnome 3 don't like comfortable "personal application launcher" and
you're happy. It want you use mouse and keyboard to run some standard
apps. If you want use this DE like all DE, you must install and active
some extension.

Specially do not like Right click in some places and "Add new
Launcher", this is gone for a long time and I believe dont't come
back. 

I use this extension to launch my custom application with personal
setting, like personal shell command and ssh connections:

https://extensions.gnome.org/extension/699/connection-manager/

For now, with some hack work, but it seems is no longer supported in
the future, and I'm not a java script expert to maintainer it.

I use Gnome on Fedora from a long time unfortunately, but When this
extension (connman) will no longer work on a next new version of Gnome,
I stop using Gnome and shall, with a bit of difficulty, go to another
DE.
 

-- 
Dario Lesca
(inviato dal mio Linux Fedora 24 Workstation)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Samba DC NT4 Style is Gone. When AD-DC will enable for default into Centos/RedHat Samba4 packages?

2016-08-27 Thread Dario Lesca
This recent Microsoft's Patch 
https://lists.samba.org/archive/samba/2016-August/202197.html

disable password change for all server Domain Controller NT4 Style,
Samba 3 and 4 included.

Then is urgent to enable, into Samba 4 Centos package by default
support to AD-DC mode, or release another renamed packages with AD-DC
support enable.

For now, I must download the samba.src rpm, modify the spec file

> sed \
> -e 's/%global with_mitkrb5 1/%global with_mitkrb5 0/' \
> -e 's/%global with_dc 0/%global with_dc 1/' \
> ~/rpmbuild/SPECS/samba.spec

then rebuild the package after all update.

My question is:

There is some hope that in the short this flags are enable by default?

Many thanks for your reply

-- 
Dario Lesca
(inviato dal mio Linux Fedora 24 Workstation)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7.2: Mount one by one (not simultaneously!) two usb disk with same label

2016-05-23 Thread Dario Lesca
Il giorno mer, 18/05/2016 alle 12.05 +0200, Dario Lesca ha scritto:
> For backup, I have 2 usb disk with same label (LABEL=bove-bk) mounted
> periodically one by one (not simultaneously!) in the same folder
> /mnt/bove-bk/ 
> ...
> when I unmount and unplug the first disk and I plug and mount the
> second the disk is not mounted

I have try this scenario on a Fedora 23 and all work fine 

Is this a Centos 7 bug?
It's better I fill a bug?

Thank for your suggest.

-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 7.2: Mount one by one (not simultaneously!) two usb disk with same label

2016-05-18 Thread Dario Lesca
For backup, I have 2 usb disk with same label (LABEL=bove-bk) mounted
periodically one by one (not simultaneously!) in the same folder
/mnt/bove-bk/

> [root@s-virt ~]# grep bove-bk /etc/fstab
> LABEL="bove-bk" /mnt/bove-bk xfs defaults,nofail 0 0

With Centos 5/6 this has never given problems, now with c7 when I
unmount and unplug the first disk and I plug and mount the second I get
this message log and the disk is not mounted:

> [root@s-virt ~]# mount -a
> mag 18 10:18:20 s-virt.bove.local kernel: XFS (sdd2): Mounting V4 Filesystem
> mag 18 10:18:21 s-virt.bove.local kernel: XFS (sdd2): Ending clean mount
> [root@s-virt ~]# mag 18 10:18:21 s-virt.bove.local systemd[1]: Unit 
> mnt-bove\x2dbk.mount is bound to inactive unit 
> dev-disk-by\x2dlabel-bove\x2dbk.device. Stopping, too.
> mag 18 10:18:21 s-virt.bove.local systemd[1]: Unmounting /mnt/bove-bk...
> mag 18 10:18:21 s-virt.bove.local kernel: XFS (sdd2): Unmounting Filesystem
> mag 18 10:18:21 s-virt.bove.local systemd[1]: Unmounted /mnt/bove-bk.

In every way that I try to mount the disk (by UUID, into another
folder, using the device, ecc), always systemd Unmount my disk.

After some research I have found that by running these commands:

> [root@s-virt ~]# journalctl -f &
> [root@s-virt ~]# udevadm control --reload
> [root@s-virt ~]# systemctl daemon-reload
> mag 18 10:28:31 s-virt.bove.local polkitd[1035]: Registered Authentication 
> Agent for unix-process:25607:464417949 (system bus name :1.18421 
> [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path 
> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.utf8)
> mag 18 10:28:31 s-virt.bove.local systemd[1]: Reloading.
> mag 18 10:28:31 s-virt.bove.local systemd[1]: 
> [/usr/lib/systemd/system/firstboot-graphical.service:14] Support for option 
> SysVStartPriority= has been removed and it is ignored
> mag 18 10:28:31 s-virt.bove.local systemd[1]: Configuration file 
> /usr/lib/systemd/system/auditd.service is marked world-inaccessible. This has 
> no effect as configuration data is accessible via APIs without restrictions. 
> Proceeding anyway.
> mag 18 10:28:31 s-virt.bove.local systemd[1]: Configuration file 
> /usr/lib/systemd/system/wpa_supplicant.service is marked executable. Please 
> remove executable permission bits. Proceeding anyway.
> mag 18 10:28:31 s-virt.bove.local polkitd[1035]: Unregistered Authentication 
> Agent for unix-process:25607:464417949 (system bus name :1.18421, object path 
> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.utf8) 
> (disconnected from bus)

the mount of second disk work property

> [root@s-virt ~]# mount -a
> mag 18 10:28:36 s-virt.bove.local kernel: XFS (sdd2): Mounting V4 Filesystem
> mag 18 10:28:37 s-virt.bove.local kernel: XFS (sdd2): Ending clean
> mount[root@s-virt ~]# 

It's possible resolve this annoying issue and restore old c5/6 behavior
to allow a normal user to substitute the disks from graphical console?

Many thanks.

-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.7: kernel: EDAC MC0: CE row 2, channel 1, label "": (..... (Correctable Patrol Data ECC))

2016-05-03 Thread Dario Lesca
Il giorno mar, 03/05/2016 alle 12.15 +0200, Dario Lesca ha scritto:
> After update from centos 6.6 to centos 6.7 and reboot it, I have get
> a
> lot of this error into /var/log/messages:
> 
> > 
> > May  3 11:27:20 s-virt kernel: EDAC MC0: CE row 2, channel 1, label
> > "": (Branch=0 DRAM-Bank=2 RDWR=Read RAS=6093 CAS=896, CE
> > Err=0x1
> > (Correctable Patrol Data ECC))
> ...
> 
> What is the problem signaled into log?
> 
> What I must to do ?
> 
> Many thanks for your help.

I have found this suggest:
> 
> 
> As per logs, you are getting CE (Corrected Error) messages in the
> system. Ans you can ignore them, Edit grub.conf and add
> mce=dont_log_ce to the kernel line which will stop corrected error
> messages to log in file.
> 
> But it always good to run memory check in the system.
http://serverfault.com/questions/531110/var-log-messages-showing-lots-of-ce-err-0x2000-even-on-unused-banks-slots

Add mce=dont_log_ce to grub.conf imply a reboot.

It's possible to stop log message without reboot?

Thanks
-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 6.7: kernel: EDAC MC0: CE row 2, channel 1, label "": (..... (Correctable Patrol Data ECC))

2016-05-03 Thread Dario Lesca
After update from centos 6.6 to centos 6.7 and reboot it, I have get a
lot of this error into /var/log/messages:

> May  3 11:27:20 s-virt kernel: EDAC MC0: CE row 2, channel 1, label
> "": (Branch=0 DRAM-Bank=2 RDWR=Read RAS=6093 CAS=896, CE Err=0x1
> (Correctable Patrol Data ECC))
> May  3 11:27:21 s-virt kernel: EDAC MC0: CE row 2, channel 1, label
> "": (Branch=0 DRAM-Bank=1 RDWR=Read RAS=1330 CAS=4, CE Err=0x2000
> (Correctable Non-Mirrored Demand Data ECC))
> May  3 11:27:22 s-virt kernel: EDAC MC0: CE row 2, channel 1, label
> "": (Branch=0 DRAM-Bank=2 RDWR=Read RAS=2673 CAS=4, CE Err=0x2000
> (Correctable Non-Mirrored Demand Data ECC))
> May  3 11:27:23 s-virt kernel: EDAC MC0: CE row 2, channel 1, label
> "": (Branch=0 DRAM-Bank=2 RDWR=Read RAS=1335 CAS=4, CE Err=0x2000
> (Correctable Non-Mirrored Demand Data ECC))
> May  3 11:27:24 s-virt kernel: EDAC MC0: CE row 2, channel 1, label
> "": (Branch=0 DRAM-Bank=2 RDWR=Read RAS=1335 CAS=4, CE Err=0x2000
> (Correctable Non-Mirrored Demand Data ECC))
> May  3 11:27:25 s-virt kernel: EDAC MC0: CE row 2, channel 1, label
> "": (Branch=0 DRAM-Bank=2 RDWR=Read RAS=240 CAS=4, CE Err=0x2000
> (Correctable Non-Mirrored Demand Data ECC))
> May  3 11:27:26 s-virt kernel: EDAC MC0: CE row 2, channel 1, label
> "": (Branch=0 DRAM-Bank=3 RDWR=Read RAS=1796 CAS=900, CE Err=0x1
> (Correctable Patrol Data ECC))
> May  3 11:27:27 s-virt kernel: EDAC MC0: CE row 2, channel 1, label
> "": (Branch=0 DRAM-Bank=3 RDWR=Read RAS=1337 CAS=4, CE Err=0x2000
> (Correctable Non-Mirrored Demand Data ECC))
> May  3 11:27:28 s-virt kernel: EDAC MC0: CE row 2, channel 1, label
> "": (Branch=0 DRAM-Bank=3 RDWR=Read RAS=3094 CAS=900, CE Err=0x1
> (Correctable Patrol Data ECC))
> May  3 11:27:29 s-virt kernel: EDAC MC0: CE row 2, channel 1, label
> "": (Branch=0 DRAM-Bank=3 RDWR=Read RAS=240 CAS=6, CE Err=0x2000
> (Correctable Non-Mirrored Demand Data ECC))
> May  3 11:27:30 s-virt kernel: EDAC MC0: CE row 2, channel 1, label
> "": (Branch=0 DRAM-Bank=3 RDWR=Read RAS=240 CAS=6, CE Err=0x2000
> (Correctable Non-Mirrored Demand Data ECC))

I have "yum install edac-utils -y" and I have get this output:

> [root@s-virt ~]# edac-util -v
> mc0: 0 Uncorrected Errors with no DIMM info
> mc0: 0 Corrected Errors with no DIMM info
> mc0: csrow0: 0 Uncorrected Errors
> mc0: csrow0: ch0: 0 Corrected Errors
> mc0: csrow0: ch1: 0 Corrected Errors
> mc0: csrow0: ch2: 0 Corrected Errors
> mc0: csrow0: ch3: 0 Corrected Errors
> mc0: csrow1: 0 Uncorrected Errors
> mc0: csrow1: ch0: 0 Corrected Errors
> mc0: csrow1: ch1: 0 Corrected Errors
> mc0: csrow1: ch2: 0 Corrected Errors
> mc0: csrow1: ch3: 0 Corrected Errors
> mc0: csrow2: 0 Uncorrected Errors
> mc0: csrow2: ch0: 0 Corrected Errors
> mc0: csrow2: ch1: 80384 Corrected Errors
> mc0: csrow2: ch2: 0 Corrected Errors
> mc0: csrow2: ch3: 0 Corrected Errors
> mc0: csrow3: 0 Uncorrected Errors
> mc0: csrow3: ch0: 0 Corrected Errors
> mc0: csrow3: ch1: 8 Corrected Errors
> mc0: csrow3: ch2: 0 Corrected Errors
> mc0: csrow3: ch3: 0 Corrected Errors

The server is a:

> [root@s-virt ~]# lshw
> s-virt.dom.it
> description: Tower Computer
> product: ProLiant ML370 G5 (433752-421)
> vendor: HP
> serial: GBxxxM
> width: 64 bits
> capabilities: smbios-2.4 dmi-2.4 vsyscall64 vsyscall32
> configuration: boot=hardware-failure-fw chassis=tower
> family=ProLiant sku=433752-421 uuid=3437-3532-4742-3837-
> 35303557534D

with this RAM installed:
> [root@s-virt ~]# dmidecode -t memory|grep Size
> Size: 1024 MB
> Size: 2048 MB
> Size: No Module Installed
> Size: No Module Installed
> Size: 1024 MB
> Size: 2048 MB
> Size: No Module Installed
> Size: No Module Installed
> Size: 1024 MB
> Size: 4096 MB
> Size: No Module Installed
> Size: No Module Installed
> Size: 1024 MB
> Size: 4096 MB
> Size: No Module Installed
> Size: No Module Installed

I'm not a hardware guru and I do not know "decrypt" log and output
commands messages

What is the problem signaled into log?

What I must to do ?

Many thanks for your help.

-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [Solved] Centos7: Mount problem (Unit mnt-bk\x2dbenvet\x2d01.mount is bound to inactive unit dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device. Stopping, too.

2016-04-03 Thread Dario Lesca
Il giorno dom, 03/04/2016 alle 02.23 +0200, Dario Lesca ha scritto:
> 
> Some other suggest?

I have update and reboot  the server tonight and now the disk is
mounted.

> [lesca@s-virt ~]$ rpm -q systemd
> systemd-219-19.el7_2.7.x86_64

Probably the bug was correct.

Thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos7: Mount problem (Unit mnt-bk\x2dbenvet\x2d01.mount is bound to inactive unit dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device. Stopping, too.

2016-04-02 Thread Dario Lesca
Il giorno sab, 02/04/2016 alle 18.04 -0600, Frank Cox ha scritto:
> On Sun, 03 Apr 2016 01:58:42 +0200
> Dario Lesca wrote:
> 
> > 
> > Please, someone can help me to resolve this systemd issue?
> systemctl reset-failed

Thanks Frank, but I have try this command, none is changed:


> [root@s-virt ~]# 
> [root@s-virt ~]# 
> [root@s-virt ~]# journalctl -f &
> [1] 46372
> [root@s-virt ~]# systemctl reset-failed 
> apr 03 02:21:23 s-virt.vettorello.loc polkitd[984]: Registered
> Authentication Agent for unix-process:46376:195208129 (system bus
> name :1.7882 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object
> path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale
> it_IT.UTF-8)
> apr 03 02:21:23 s-virt.vettorello.loc polkitd[984]: Unregistered
> Authentication Agent for unix-process:46376:195208129 (system bus
> name :1.7882, object path
> /org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8)
> (disconnected from bus)
> 
> [root@s-virt ~]# mount -a
> apr 03 02:21:31 s-virt.vettorello.loc kernel: XFS (sdb1): Mounting V4
> Filesystem
> apr 03 02:21:31 s-virt.vettorello.loc kernel: XFS (sdb1): Ending
> clean mount
> apr 03 02:21:31 s-virt.vettorello.loc systemd[1]: Unit mnt-
> bk\x2dbenvet\x2d01.mount is bound to inactive unit dev-disk-
> by\x2dlabel-bk\x2dbenvet\x2d01.device. Stopping, too.
> apr 03 02:21:31 s-virt.vettorello.loc systemd[1]: Unmounting /mnt/bk-
> benvet-01...
> apr 03 02:21:31 s-virt.vettorello.loc kernel: XFS (sdb1): Unmounting
> Filesystem
> apr 03 02:21:31 s-virt.vettorello.loc systemd[1]: Unmounted /mnt/bk-
> benvet-01.
> 

Some other suggest?

Thanks

> 
-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos7: Mount problem (Unit mnt-bk\x2dbenvet\x2d01.mount is bound to inactive unit dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device. Stopping, too.

2016-04-02 Thread Dario Lesca
Please, someone can help me to resolve this systemd issue?

It's possible disable the "piece of software" of systemd that unmount
my backup disk a second after I mount it?

Many thanks

Il giorno ven, 01/04/2016 alle 14.03 +0200, Dario Lesca ha scritto:
> On a server Centos 7.2  I insert my 1Tb usb disk and run
> 
> sudo mount LABEL=bk-benvet-01 /mnt/bk-benvet-01
> 
> the command seem to work but nothing is mounted
> 
> Into log I see this issue:
> 
> > 
> > apr 01 13:49:06 s-virt.dom.loc kernel: XFS (sdb1): Mounting V4
> > Filesystem
> > apr 01 13:49:06 s-virt.dom.loc kernel: XFS (sdb1): Ending clean
> > mount
> > apr 01 13:49:06 s-virt.dom.loc systemd[1]: Unit mnt-
> > bk\x2dbenvet\x2d01.mount is bound to inactive unit dev-disk-
> > by\x2dlabel-bk\x2dbenvet\x2d01.device. Stopping, too.
> > apr 01 13:49:06 s-virt.dom.loc systemd[1]: Unmounting /mnt/bk-
> > benvet-01...
> > apr 01 13:49:06 s-virt.dom.loc kernel: XFS (sdb1): Unmounting
> > Filesystem
> > apr 01 13:49:06 s-virt.dom.loc systemd[1]: Unmounted /mnt/bk-
> > benvet-01.
> I have try this:
> 
> > 
> > [root@s-virt ~]# systemctl start dev-disk-by\x2dlabel-
> > bk\x2dbenvet\x2d01.device
> > Job for dev-disk-byx2dlabel-bkx2dbenvetx2d01.device timed out.
> > [root@s-virt ~]# systemctl status dev-disk-by\x2dlabel-
> > bk\x2dbenvet\x2d01.device
> > ● dev-disk-byx2dlabel-bkx2dbenvetx2d01.device
> >    Loaded: loaded
> >    Active: inactive (dead)
> > 
> > apr 01 13:52:36 s-virt.vettorello.loc systemd[1]: Job dev-disk-
> > byx2dlabel-bkx2dbenvetx2d01.device/start timed out.
> > apr 01 13:52:36 s-virt.vettorello.loc systemd[1]: Timed out waiting
> > for device dev-disk-byx2dlabel-bkx2dbenvetx2d...ice.
> > apr 01 13:52:36 s-virt.vettorello.loc systemd[1]: Job dev-disk-
> > byx2dlabel-bkx2dbenvetx2d01.device/start failed wi...ut'.
> > Hint: Some lines were ellipsized, use -l to show in full.
> > [root@s-virt ~]# systemctl status dev-disk-by\x2dlabel-
> > bk\x2dbenvet\x2d01.device -l
> > ● dev-disk-byx2dlabel-bkx2dbenvetx2d01.device
> >    Loaded: loaded
> >    Active: inactive (dead)
> But nothing is changed
> 
> How to resolve this problem?
> 
> Many thanks
> 
-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos7: Mount problem (Unit mnt-bk\x2dbenvet\x2d01.mount is bound to inactive unit dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device. Stopping, too.

2016-04-01 Thread Dario Lesca
On a server Centos 7.2  I insert my 1Tb usb disk and run

sudo mount LABEL=bk-benvet-01 /mnt/bk-benvet-01

the command seem to work but nothing is mounted

Into log I see this issue:

> apr 01 13:49:06 s-virt.dom.loc kernel: XFS (sdb1): Mounting V4 Filesystem
> apr 01 13:49:06 s-virt.dom.loc kernel: XFS (sdb1): Ending clean mount
> apr 01 13:49:06 s-virt.dom.loc systemd[1]: Unit mnt-bk\x2dbenvet\x2d01.mount 
> is bound to inactive unit dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device. 
> Stopping, too.
> apr 01 13:49:06 s-virt.dom.loc systemd[1]: Unmounting /mnt/bk-benvet-01...
> apr 01 13:49:06 s-virt.dom.loc kernel: XFS (sdb1): Unmounting Filesystem
> apr 01 13:49:06 s-virt.dom.loc systemd[1]: Unmounted /mnt/bk-benvet-01.

I have try this:

> [root@s-virt ~]# systemctl start 
> dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device
> Job for dev-disk-byx2dlabel-bkx2dbenvetx2d01.device timed out.
> [root@s-virt ~]# systemctl status 
> dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device
> ● dev-disk-byx2dlabel-bkx2dbenvetx2d01.device
>    Loaded: loaded
>    Active: inactive (dead)
> 
> apr 01 13:52:36 s-virt.vettorello.loc systemd[1]: Job 
> dev-disk-byx2dlabel-bkx2dbenvetx2d01.device/start timed out.
> apr 01 13:52:36 s-virt.vettorello.loc systemd[1]: Timed out waiting for 
> device dev-disk-byx2dlabel-bkx2dbenvetx2d...ice.
> apr 01 13:52:36 s-virt.vettorello.loc systemd[1]: Job 
> dev-disk-byx2dlabel-bkx2dbenvetx2d01.device/start failed wi...ut'.
> Hint: Some lines were ellipsized, use -l to show in full.
> [root@s-virt ~]# systemctl status 
> dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device -l
> ● dev-disk-byx2dlabel-bkx2dbenvetx2d01.device
>    Loaded: loaded
>    Active: inactive (dead)

But nothing is changed

How to resolve this problem?

Many thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 7: Problem with named-chroot service after last update

2016-03-15 Thread Dario Lesca
After last update, the named-chroot service not start anymore with this
error:
> mar 15 10:26:33 s-virt.mydom.local bash[3263]: zone mydom.local/IN:
> loading from master file mydom.local/master.zone failed: file not fou
> mar 15 10:26:33 s-virt.mydom.local bash[3263]: zone mydom.local/IN:
> not loaded due to errors.
> mar 15 10:26:33 s-virt.mydom.local bash[3263]:
> _default/mydom.local/IN: file not found
> mar 15 10:26:33 s-virt.mydom.local bash[3263]: zone 0.168.192.in-
> addr.arpa/IN: loading from master file mydom.local/reverse.zone
> failed:
> mar 15 10:26:33 s-virt.mydom.local bash[3263]: zone 0.168.192.in-
> addr.arpa/IN: not loaded due to errors.
> mar 15 10:26:33 s-virt.mydom.local bash[3263]: _default/0.168.192.in-
> addr.arpa/IN: file not found

All file into /var/named/chroot/var/named/ are not found

After investigate I have found this error, into file:
 
/etc/systemd/system/multi-user.target.wants/named-chroot.service

the ExecStartPre named-checkconf command is wrong: the option '-t
/var/named/chroot' is missing.

Solution:

Add '-t /var/named/chroot' option before the '-z' option into
ExecStartPre command or disable zone check via /etc/sysconfig/named

Hope this help

-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Substitute pdftk with other command

2016-02-22 Thread Dario Lesca
Il giorno gio, 18/02/2016 alle 21.04 +, Harold Toms ha scritto:
> I would recommend that you do *not* do this. Installing C6 packages
> on C7 is a really bad idea. Instead perhaps try using cpdf:
> 
> http://community.coherentpdf.com/
Ok, cpdf is very interesting, thank you, I did not know it.
I have build it on my Centos 7 + EPEL with this simple procedure:
# http://community.coherentpdf.com/
$ sudo yum install ocaml-ocamldoc ocaml-findlib -y

# $ mkdir ~/cpdf
# $ cd ~/cpdf
$ wget https://github.com/johnwhitington/camlpdf/archive/master.zip
-O camlpdf-master.zip
$ wget https://github.com/johnwhitington/cpdf-source/archive/master.
zip -O cpdf-source-master.zip
$ sh -xc 'unzip camlpdf-master.zip; cd camlpdf-master && make &&
sudo make install'
$ sh -xc 'unzip cpdf-source-master.zip; cd cpdf-source-master &&
make && sudo make install'
$ sudo cp -a cpdf-source-master/cpdf  /usr/local/bin/cpdf
$ cpdf -version
Now I can substitute pdftk with cpdf ...
Many thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Substitute pdftk with other command

2016-02-18 Thread Dario Lesca
Il giorno gio, 18/02/2016 alle 17.34 +0100, Yamaban ha scritto:
> On Thu, 18 Feb 2016 16:07, Dario Lesca wrote:
> 
> > Hi, I must migrate a Centos5 server on Centos7
> > 
> > On server Centos5 there is a shell procedure witch add to PDF a
> > timestamp like this example:
> > 
> > http://i.stack.imgur.com/OBsqX.png
> > 
> > with this command:
> > $ pdftk input.pdf stamp overlay.pdf output stamped.pdf
> > 
> > Into Centos7 pdftk it is no longer allowed
> > 
> > Someone knows some other command to replace it or other ways to do
> > this?
> > 
> > Or how I can install pdftk on Centos7.
> > 
> > Many thanks for your help.
> 
> Original code is located here:
>   https://www.pdflabs.com/docs/install-pdftk-on-redhat-or-centos/
> 
> including recipe to compile from source.
> 
> ATM there is no "ready to install" package directly for Centos 7,
> but try the Centos /RHEL 6 package from there before
> doing the full build circus (requires installed libgcj).

For this solution it's necessary to break some dependency:

# rpm -ivh  ./libgcj-4.4.7-16.el6.x86_64.rpm ./pdftk-2.02-1.el6.x86_64.rpm 
avvertimento: ./libgcj-4.4.7-16.el6.x86_64.rpm: Header V3 RSA/SHA1 Signature, 
ID chiave c105b9de: NOKEY
errore: Dipendenze fallite:
libgmp.so.3()(64bit) necessario a libgcj-4.4.7-16.el6.x86_64

# rpm -qf /usr/lib64/libgmp.so.10
gmp-6.0.0-12.el7_1.x86_64

I have adding --nodeps and it's able to install it.

If there are not other solution, I will use this method

Thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Substitute pdftk with other command

2016-02-18 Thread Dario Lesca
Hi, I must migrate a Centos5 server on Centos7

On server Centos5 there is a shell procedure witch add to PDF a
timestamp like this example:

http://i.stack.imgur.com/OBsqX.png

with this command:
$ pdftk input.pdf stamp overlay.pdf output stamped.pdf

Into Centos7 pdftk it is no longer allowed

Someone knows some other command to replace it or other ways to do
this?

Or how I can install pdftk on Centos7.

Many thanks for your help.


--
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 6: qemu-kvm: Install guest win10 on host Centos 6

2015-12-15 Thread Dario Lesca
I have try to install from iso Windows 10 on a centos 6 + qemu/kvm, but
the guest not start and reboot after a while.

Form this page:
http://www.linux-kvm.org/page/Guest_Support_Status#Guest_Support_Status 

I understand that I must install at least qemu-kvm-2.3.0, but on the
server (up to date) is installed qemu-kvm-0.12.1.2-2.479.el6_7.2 and
there are no other updates.
I can upgrade the server to Centos 7, but on Centos7 the max newer
version of qemu-kvm is 1.5.3-105.el7_2.1

My question is: there is some way to install on Centos 6 up to date
Windows 10, or I must upgrade / install Fedora 23 server (qemu-kvm-
2.4.1-3.fc23.x86_64)

Many thanks for reply

-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Cannot open: No space left on device

2015-09-11 Thread Dario Lesca
Il giorno ven, 11/09/2015 alle 14.48 -0430, reynie...@gmail.com ha
scritto:
> What do you mean with "mount says"? Can you point me on the right 
> command to execute?

Run this command :

> [root@centos7 ~]# du -sc /* /.??* --exclude /proc|sort -n
> 0 /.autorelabel
> 0 /bin
> 0 /dev
> 0 /lib
> 0 /lib64
> 0 /media
> 0 /mnt
> 0 /sbin
> 0 /srv
> 0 /sys
> 52/root
> 72/tmp
> 6752  /run
> 22772 /etc
> 128940/boot
> 144252/home
> 15/var
> 760748/opt
> 1432444   /usr
> 2646032   totale
> [root@centos7 ~]# lsblk /dev/vda
> NAMEMAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
> vda 252:00  9,8G  0 disk 
> ├─vda1  252:10  500M  0 part /boot
> └─vda2  252:20  9,3G  0 part 
>   ├─centos-root 253:00  4,4G  0 lvm  /
>   ├─centos-swap 253:10 1000M  0 lvm  [SWAP]
>   ├─centos-var  253:2    0  2,2G  0 lvm  /var
>   └─centos-opt  253:30  1,8G  0 lvm  /opt

and post the result.


-- 
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SAMBA as AD DC

2015-09-11 Thread Dario Lesca
Il giorno lun, 08/09/2014 alle 20.03 +0100, James Hogarth ha scritto:
> On 8 Sep 2014 17:00, "Frantisek Hanzlik" <fra...@hanzlici.cz> wrote
> ...
> > 
> > Hi James, thanks for reply. It seems as at SerNet's site have
> > packages
> > for RHEL6/Centos6 only, not for RHEL7/Centos7 or any Fedora
> > versions,
> > at least this.
> > 
> 
> Indeed but fortunately EL6 has many years ahead of it yet.
> 
> > Regarding to Samba4 with MIT in 4.2/4.3 - as I know, 4.2 still is
> > not
> > even in rc, thus final release can be perhaps at the turn of the
> > year.
> 
> The rc is due Sep 15th last I heard.
> 
> > And when time between releases is approx. 9 month, then we can wait
> > around
> > for year...
> > I'll keep my fingers crossed, that it happen in 4.2
> 
> Andrew Bartlett has expressed an opinion on the samba technical list 
> that he'd be in favour of a very short 4.2 cycle if it means getting 
> these sort of updates out.

There is some news for this tread?

Samba 4.3 is out:
https://www.samba.org/samba/history/samba-4.3.0.html

and into Fedora Development there's already new package:
https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/x86_64/os/Packages/s/

But the "samba-ad" package still missing.

Someone have more info?

Many thanks 

-- 
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SAMBA as AD DC

2015-09-11 Thread Dario Lesca
Il giorno ven, 11/09/2015 alle 14.25 +0200, Oscar Osta Pueyo ha
scritto:
> Hello,
> 
> On 11 September 2015 at 14:04, Dario Lesca <d.le...@solinos.it>
> wrote:
> 
> > Il giorno lun, 08/09/2014 alle 20.03 +0100, James Hogarth ha
> > scritto:
> > > On 8 Sep 2014 17:00, "Frantisek Hanzlik" <fra...@hanzlici.cz>
> > > wrote
> > > ...
> > > > 
> > > > Hi James, thanks for reply. It seems as at SerNet's site have
> > > > packages for RHEL6/Centos6 only, not for RHEL7/Centos7 or any 
> > > > Fedora versions, at least this.
> > > > 
> > > 
> > > Indeed but fortunately EL6 has many years ahead of it yet.
> > > 
> > > > Regarding to Samba4 with MIT in 4.2/4.3 - as I know, 4.2 still 
> > > > is not even in rc, thus final release can be perhaps at the 
> > > > turn of the year.
> > > 
> > > The rc is due Sep 15th last I heard.
> > > 
> > > > And when time between releases is approx. 9 month, then we can
> > > > wait
> > > > around
> > > > for year...
> > > > I'll keep my fingers crossed, that it happen in 4.2
> > > 
> > > Andrew Bartlett has expressed an opinion on the samba technical 
> > > list that he'd be in favour of a very short 4.2 cycle if it means
> > > getting these sort of updates out.
> > 
> > There is some news for this tread?
> > 
> > Samba 4.3 is out:
> > https://www.samba.org/samba/history/samba-4.3.0.html
> > 
> > and into Fedora Development there's already new package:
> > 
> > https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/x
> > 86_64/os/Packages/s/
> > 
> > But the "samba-ad" package still missing.
> > 
> > Someone have more info?
> > 
> > Many thanks
> > 
> > 
> 
> It is a decision of red hat over MIT or Heimdal. Red hat chooses MIT 
> and Samba 4 AD chooses Heimdal.
> 
> You have more info in https://access.redhat.com/discussions/1235263

Ok, thanks for reply.

I read from last message of discussion:

> February 9 2015 at 1:54 PM - Razvan Corneliu Vilt say:
>  
> The Samba 4 release in RHEL 7 does not support the Active Directory 
> Domain Controller role. It is however a good NT4 Style Primary Domain 
> Controller, a decent SMB3 file server, etc. What's more interesting 
> is that you CAN make Samba 4 from EL 7 work with FreeIPA for 
> authentication via NTLM AND Kerberos. I already have implemented this 
> using the stock Red Hat Packages and authentication works via FreeIPA 
> using both MS-RPC authentication in NTLM form and Kerberised 
> authentication. 
> 

This means that that never will be a samba-ad for redhat/centos.

Then, if I as I understand the reply, with Centos7 + Samba 4 in old NT4
-DC mode + Kerberos + FreeIPA ( I do not know what it is FreeIPA) it's
possible setup a Linux PDC working with all versions of Windows client,
without changing the registry into win7/8 to join to domain?

I'm not a guru of Linux, someone can point me to the right way?

Many thanks
Dario

-- 
Dario Lesca
(inviato dal mio Linux Fedora 22 con Gnome 3.16)

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 7 - How To set text console resolution to 80x24

2014-10-23 Thread Dario Lesca
Like subject say ... hot to configure the resolution of text console to
standard 80x24 ?

Many Thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 20 con Gnome 3.10.4)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 - How To set text console resolution to 80x24

2014-10-23 Thread Dario Lesca
Il giorno gio, 23/10/2014 alle 10.29 -0400, Jonathan Billings ha
scritto:
 On Thu, Oct 23, 2014 at 04:05:33PM +0200, Dario Lesca wrote:
 
  Like subject say ... hot to configure the resolution of text console to
  standard 80x24 ?
 
 I believe you can just add 'vga=F00' (those are zeros) to your kernel
 lines and it'll use 80x25 for the non-X VGA console.

Not work: if I put vga=F00 into kernel line (at the initial kernel list,
press 'E' then edit the linux16 /vmlinuz-3.10... line), when I press
Ctrl-X I get the error error: unrecognized number

Some other suggest?

Thanks
-- 
Dario Lesca
(inviato dal mio Linux Fedora 20 con Gnome 3.10.4)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 - How To set text console resolution to 80x24

2014-10-23 Thread Dario Lesca
Il giorno gio, 23/10/2014 alle 17.33 +0200, Dario Lesca ha scritto:
 Il giorno gio, 23/10/2014 alle 10.29 -0400, Jonathan Billings ha
 scritto:
  On Thu, Oct 23, 2014 at 04:05:33PM +0200, Dario Lesca wrote:
  
   Like subject say ... hot to configure the resolution of text console to
   standard 80x24 ?
  
  I believe you can just add 'vga=F00' (those are zeros) to your kernel
  lines and it'll use 80x25 for the non-X VGA console.
 
 Not work: if I put vga=F00 into kernel line (at the initial kernel list,
 press 'E' then edit the linux16 /vmlinuz-3.10... line), when I press
 Ctrl-X I get the error error: unrecognized number

Oppss ... This is a my error, do not put the vga=F00 at the end of
line ... now I have put it to the end of line and the error
unrecognized number has disappeared and the server boot.

But the problem still exist: the resolution is too  high, like without
vga=F00

 Some other suggest?
 
 Thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 20 con Gnome 3.10.4)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 - How To set text console resolution to 80x24

2014-10-23 Thread Dario Lesca
Il giorno gio, 23/10/2014 alle 16.05 +0200, Dario Lesca ha scritto:
 Like subject say ... hot to configure the resolution of text console to
 standard 80x24 ?

I have put nomodeset at the end of the kernel boot options and now the
console is like I'm looking for: 80x24.

Is this a valid solution for a not GUI server console?

Thanks

 Many Thanks
 

-- 
Dario Lesca
(inviato dal mio Linux Fedora 20 con Gnome 3.10.4)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 7 - How To set text console resolution to 80x24

2014-10-23 Thread Dario Lesca
Il giorno gio, 23/10/2014 alle 11.46 -0400, Jonathan Billings ha
scritto:
  But the problem still exist: the resolution is too  high, like without
  vga=F00
 
 Oops, that works in EL6 but not in EL7.  Try 'nomodeset'.
 

Ok, Jonathan 'nomodeset' work.

Then I have:

a) vi /etc/default/grub # remove 'rhgb quiet', add 'nomodeset'
b) grub2-mkconfig -o /boot/grub2/grub.cfg
c) reboot

Thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 20 con Gnome 3.10.4)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Owncloud 7 on Centos 7

2014-07-24 Thread Dario Lesca
for knowledge

--- Messaggio inoltrato ---
Da: Dario Lesca d.le...@solinos.it
A: j...@owncloud.com
Oggetto: Owncloud 7 on Centos 7
Data: Wed, 23 Jul 2014 18:29:57 +0200

I suggest to add into dependencies of the spec file this package:

policycoreutils-python

In order to setup the SElinux policy via semanage command

see :
http://www.cyberciti.biz/faq/redhat-install-semanage-selinux-command-rpm/

Many thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 20 con Gnome 3.10.4)



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] c6.4: D-Link USB network device (2001:1a02) not work.

2013-10-29 Thread Dario Lesca
Hi, I have plug in this USB network device:

 Bus 001 Device 002: ID 2001:1a02 D-Link Corp.

 T:  Bus=01 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#=  2 Spd=480  MxCh= 0
 D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=00 MxPS=64 #Cfgs=  1
 P:  Vendor=2001 ProdID=1a02 Rev= 0.01
 S:  Manufacturer=D-Link  
 S:  Product=DUB-E100
 S:  SerialNumber=E5ECEB
 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=200mA
 I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=00 Driver=(none)
 E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=128ms
 E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
 E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

This is the log information:

 Oct 24 10:10:56 s-virt kernel: usb 1-5: new high speed USB device number 2 
 using ehci_hcd
 Oct 24 10:10:57 s-virt kernel: usb 1-5: New USB device found, idVendor=2001, 
 idProduct=1a02
 Oct 24 10:10:57 s-virt kernel: usb 1-5: New USB device strings: Mfr=1, 
 Product=2, SerialNumber=3
 Oct 24 10:10:57 s-virt kernel: usb 1-5: Product: DUB-E100
 Oct 24 10:10:57 s-virt kernel: usb 1-5: Manufacturer: D-Link  
 Oct 24 10:10:57 s-virt kernel: usb 1-5: SerialNumber: E5ECEB
 Oct 24 10:10:57 s-virt kernel: usb 1-5: configuration #1 chosen from 1 choice

But, if I run 'ip a' I do not see other new network device (ethX).

It's possible resolve this issue and use this USB network device?

Many thanks

-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora19+Gnome3.8)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [SOLVED] c6.4: D-Link USB network device (2001:1a02) not work.

2013-10-29 Thread Dario Lesca
Il giorno mar, 29/10/2013 alle 08.48 -0400, SilverTip257 ha scritto:
 On Tue, Oct 29, 2013 at 7:00 AM, Dario Lesca d.le...@solinos.it wrote:
 
  Hi, I have plug in this USB network device:
 
 
 Are you running CentOS 5 or CentOS 6?

Like subject say, CentOS 6.4 

The kernel is last: 2.6.32-358.23.2.el6.x86_64

 You need to figure out what chipset your usb ethernet device uses.  Maybe
 it uses ax8817x driver like [0] says?  Or D-Link decided to change the
 chipset without changing the model number. ;)
 
 Run lsusb and locate your device.
 Use the Bus and Device numbers in the following command so you get more
 info on just that device.
 lsusb -v -s Bus:Device | egrep 'id(Vendor|Product)'
 
 If you're lucky there will be some useful information in those two fields,
 otherwise run the second command without piping it to egrep and read
 through all the verbose info for clues.
 
 It doesn't appear the ax8817x driver is shipped with stock CentOS 6 kernels
 (and since 5 kernels are much older, don't expect it's 2.6.18.x kernel to
 include the driver which came out around 2.6.21 or .23).
 # find /lib/modules/2.6.32-358.23.2.el6.x86_64/ -iname 'ax88*' -print
 
 And the word is that there's a bug or two [1] for the ax8817x drivers (this
 Plugable device uses a similar chipset and it appears the same driver as
 well) that aren't fixed until 3.2 series kernels.  You may just have to
 compile the module manually from source [2] which won't be horrible (since
 these instructions are for Ubuntu you'll have to adapt them for RHEL/CentOS
 as necessary).
 
 ** Don't hold me to any of this info until you know for sure which chipset
 _you_ have!
 
 [0] http://www.linux-usb.org/devices.html#net
 [1] http://plugable.com/products/USB3-E1000/drivers
 [2]
 http://plugable.com/2010/10/18/howto-asix-88178-usb-ethernet-adapter-on-ubuntu-10-10-linux

Thank SilverTip257 for reply, but I have solved rebuild and install the
asix driver follow this tread:

http://grinkin.ru/dlink-DUB-E100.html.

I have take the CD's Linux driver (DUB_E100_Linux_v420.zip),
unzip it and apply this patch:

 --- asix.c.orig   2011-09-19 14:48:58.0 +0200
 +++ asix.c2013-10-29 14:15:18.662854310 +0100
 @@ -3412,6 +3412,10 @@
   USB_DEVICE (0x2001, 0x1a00),
   .driver_info =  (unsigned long) dlink_dub_e100_info,
  }, {
 + // DLink DUB-E100
 + USB_DEVICE (0x2001, 0x1a02),
 + .driver_info =  (unsigned long) ax88772b_info,
 +}, {
   // DLink DUB-E100B
   USB_DEVICE (0x2001, 0x3c05),
   .driver_info =  (unsigned long) dlink_dub_e100b_info,

Now all work fine.

Thanks

-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora19+Gnome3.8)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [SOLVED] c6.4: D-Link USB network device (2001:1a02) not work.

2013-10-29 Thread Dario Lesca
Il giorno mar, 29/10/2013 alle 09.45 -0400, m.r...@5-cent.us ha scritto:

 One thing you *must* remember: you'll have to rebuild it every time you do
 a kernel upgrade.

Yes, I know, I will pay attention (with some scripts, I rebuild and
install it and restart network via rc.local).

If you (or someone into list) tell me that fill a bug is useful to make
sure that this patch will be included in a future kernel ... I do it. 

Thanks
-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora19+Gnome3.8)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strange Beauvoir with hard and soft link

2013-05-30 Thread Dario Lesca
Il giorno gio, 30/05/2013 alle 07.42 +1000, Kahlil Hodgson ha scritto:
 Early in the morning and I haven't finished my coffee yet, but this could
 be a bind mount.
 Search for the 'bind' option in the mount man page for an explanation.
 You should be able to tell by looking at the output of
 
mount
 
 Also check /etc/fstab

Thanks Kahlil! .. and Quiet, coffee woke you up very well

This magic link is due to bind mount

 [root@lucatest ~]# cat /etc/fstab|grep ispconfig
 /var/log/ispconfig/httpd/lucawp.it /var/www/clients/client1/web2/lognone  
   bind,nobootwait0 0
 /var/log/ispconfig/httpd/lucajo.it /var/www/clients/client1/web1/lognone  
   bind,nobootwait0 0
 /var/log/ispconfig/httpd/prova.it /var/www/clients/client1/web3/lognone   
  bind,nobootwait0 0
 /var/log/ispconfig/httpd/festantro.it /var/www/clients/client1/web4/log
 nonebind,nobootwait0 0
 /var/log/ispconfig/httpd/webe.it /var/www/clients/client1/web5/lognone
 bind,nobootwait0 0

Now everything is clear, it must be a news of last version of ISPConfig

Many thanks

-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora18+Gnome3)


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Strange Beauvoir with hard and soft link

2013-05-29 Thread Dario Lesca
How to is possible this?

 [root@lucatest ~]# ls -lid /var/log /var/log/ispconfig 
 /var/log/ispconfig/httpd /var/log/ispconfig/httpd/prova.it 
 /var/log/ispconfig/httpd/prova.it/test /var/www /var/www/clients 
 /var/www/clients/client1 /var/www/clients/client1/web3 
 /var/www/clients/client1/web3/log /var/www/clients/client1/web3/log/test
706 drwxr-xr-x. 15 root root 4096 29 mag 08:44 /var/log
  69619 drwxr-xr-x   3 root root 4096  8 mag 18:05 /var/log/ispconfig
  69620 drwxr-xr-x   6 root root 4096 29 mag 10:54 /var/log/ispconfig/httpd
 253961 drwxr-xr-x   2 root root 4096 29 mag 12:21 
 /var/log/ispconfig/httpd/prova.it
 253984 -rw-r--r--   1 root root0 29 mag 12:21 
 /var/log/ispconfig/httpd/prova.it/test
  44509 drwxr-xr-x. 12 root root 4096 29 mag 10:54 /var/www
  79376 drwxr-xr-x   4 root root 4096 22 mag 12:57 /var/www/clients
  87935 drwxr-xr-x   7 root root 4096 29 mag 10:54 /var/www/clients/client1
 253953 drwxr-xr-x   9 root root 4096 29 mag 10:54 
 /var/www/clients/client1/web3
 253961 drwxr-xr-x   2 root root 4096 29 mag 12:21 
 /var/www/clients/client1/web3/log
 253984 -rw-r--r--   1 root root0 29 mag 12:21 
 /var/www/clients/client1/web3/log/test

See this two folder:

1) /var/log/ispconfig/httpd/prova.it
2) /var/www/clients/client1/web3/log

have the same inode (253953) and none of the parent dirs are symbolic
link (l) but (d), and dir is not possible to generate it with hard link.

If I put a file into first dir, the file there is also into second dir.

See also this two file:

1) /var/log/ispconfig/httpd/prova.it/test
2) /var/www/clients/client1/web3/log/test

these file have same inode 253984 but its not hard or soft link, if I
modify first file also the second file is modified

There is only one filesystem and is the root filesystem.

How to is possible this situation?

Many thanks

-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora18+Gnome3)


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.3: load average strangeness

2013-01-18 Thread Dario Lesca
Il giorno gio, 17/01/2013 alle 13.09 +0100, Dennis Jacobfeuerborn ha
scritto:
 Looks like https://bugzilla.redhat.com/show_bug.cgi?id=883905
 
 Regards,
   Dennis

Ok, Then solution, after read this from bug 883905:

 Brian Foster 2013-01-08 10:28:08 EST 
 The current consensus for this bug is that the fix is fine, but the
 appropriate target is rhel6.5 and forward, as this is primarily a
 reporting issue.

.. is backup my data and converting (formatting) the xfs FS to ext4.

Or exist some other workaround?

Thanks.

-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora 17 Gnome3)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos 6.3: load average strangeness

2013-01-18 Thread Dario Lesca
Il giorno ven, 18/01/2013 alle 11.33 +0100, Timo Schoeler ha scritto:
 Ignoring it, because it doesn't hurt?

Ignoring the load average: 4,03, 4,03, 4,00 because is only a errata
display of load average and the real average is 0,03, 0,03, 0,00?

-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora 17 Gnome3)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 6.3: load average strangeness

2013-01-17 Thread Dario Lesca
Hi, on my c6.3 server (guest of a vmware host) I have a strange load
average value:

w command:
 [root@s-doc ~]# w
  11:19:23 up 41 days, 23:15,  1 user,  load average: 4,03, 4,03, 4,00
 USER TTY  FROM  LOGIN@   IDLE   JCPU   PCPU WHAT
 root pts/2dodo:S.0 11:150.00s  0.02s  0.00s w

top command:

 top - 12:13:31 up 42 days, 9 min,  1 user,  load average: 4.00, 4.01, 4.00
 Tasks: 127 total,   1 running, 126 sleeping,   0 stopped,   0 zombie
 Cpu(s):  0.0%us,  0.0%sy,  0.0%ni, 99.3%id,  0.7%wa,  0.0%hi,  0.0%si,  0.0%st
 Mem:   1914596k total,  1783108k used,   131488k free,86536k buffers
 Swap:  2047992k total,18884k used,  2029108k free,   246504k cached
 
   PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND  
  
   863 root  20   0 000 D  0.3  0.0  26:05.07 xfsaild/dm-5 
   1 root  20   0 
 21452 1032  780 S  0.0  0.1   0:01.76 init
2 root  20   0 000 S  0.0  0.0 
   0:00.53 kthreadd
3 root  RT   0 000 S  0.0  0.0   0:00.00 migration/0   
  4 root  20   0 0 
00 S  0.0  0.0   0:06.32 ksoftirqd/0   
  
 5 root  RT   0 000 S  0.0  0.0   0:00.00 migration/0  
   6 root  RT   0 
 000 S  0.0  0.0   0:05.66 watchdog/0  
7 root  20   0 000 S  0.0  0.0  
 27:33.90 events/0 
   8 root  20   0 000 S  0.0  0.0   0:00.00 cgroup 
 
 9 root  20   0 000 S  0.0  0.0   0:00.00 khelper  
  10 root  20   0 
 000 S  0.0  0.0   0:00.00 netns   
   11 root  20   0 000 S  0.0  0.0   
 0:00.00 async/mgr 
 12 root  20   0 000 S  0.0  0.0   0:00.00 pm  
   13 root  20   0 0   
  00 S  0.0  0.0   0:13.75 sync_supers 

14 root  20   0 000 S  0.0  0.0   0:12.35 bdi-default  
   

But none of process still work, top have no process  0,xx and also
iotop value are  0,xx.

This is the vmstat output:

 [root@s-doc ~]# vmstat 2 10
 procs ---memory-- ---swap-- -io --system-- 
 -cpu-
  r  b   swpd   free   buff  cache   si   sobibo   in   cs us sy id wa 
 st
  0  0  18884 131984  86508 24650000 21099  1  0 99  0 
  0
  0  0  18884 131976  86508 24650000 0 6  126  542  0  0 99  1 
  0
  0  0  18884 131976  86508 24650000 0 0  126  546  0  0 100  
 0  0
  0  0  18884 131976  86508 24650000 0 0  123  539  0  0 100  
 0  0
  0  0  18884 131976  86508 24650000 0 0  122  538  0  0 100  
 0  0
  0  0  18884 131976  86508 24650000 0 0  127  538  0  0 100  
 0  0
  0  0  18884 131844  86508 24650000 0 2  166  535  5  1 95  0 
  0
  4  0  18884 131844  86508 24650000 020  122  532  0  0 100  
 0  0
  0  0  18884 131844  86508 24650000 0 0  124  538  0  0 100  
 0  0
  0  0  18884 131844  86512 24650000 012  123  539  0  0 98  2 
  0
 

There is some method to find out what it is that causes the load average
4.0 ?

Many thanks for your reply.

-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora 17 Gnome3)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Centos 6 and LTSP

2012-11-09 Thread Dario Lesca
Hi, there is a how-to useful to install and configure LTSP on a Centos
6.3 server, in order to boot a C6 or Fedora Client diskless ?

Many thanks

-- 
Dario Lesca - sip:da...@solinos.it
(Inviato dal mio Linux Fedora 17 Gnome3)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] centos6: usbip: how to build and use it?

2011-10-11 Thread Dario Lesca
Someone can show me how to build the usbip standard kernel modules for
centos 6?

For other distro (mandr*, suse, debian ubuntu, ecc) this standard kernel
driver and our control programs and daemon are on standard repository
then installable via yum or apt-get

 http://rpm.pbone.net/index.php3?stat=3limit=1srodzaj=1dl=40search=usbip-dist[]=70dist[]=46dist[]=29field[]=1field[]=2

Many thanks

-- 
Dario Lesca
(Inviato dal mio Fedora Linux)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] centos6: usbip: how to build and use it?

2011-10-11 Thread Dario Lesca
Il giorno mar, 11/10/2011 alle 14.24 +0200, Dario Lesca ha scritto:
 Someone can show me how to build the usbip standard kernel modules for
 centos 6? 
The OpenSUSE source rpm of usbip-* build fine on centos6, but the
modules usbip* is missing

usbip is a staging driver, how to build a staging driver without rebuild
all kernel on Centos6?

Many thanks

-- 
Dario Lesca
(Inviato dal mio Fedora Linux)

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] sipwitch for Centos 5

2011-05-18 Thread Dario Lesca
Hi, someone have use or rebuild sipwitch on Centos 5.x?

http://www.gnu.org/software/sipwitch/
http://pkgs.org/package/sipwitch-runtime

Someone know where is (if exist) a rpm for centos5?

Thanks for info ... and Thanks to All for the great Work, Centos5.6 is a
great S.O. server!

-- 
Dario Lesca d.le...@solinos.it

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] HP ML110 G6: how to update kernel with HP hpahcisr raid driver installed

2010-09-30 Thread Dario Lesca
Hi!

I have install Centos 5.5 on HP ProLiant ML110 G6
with RAID-1 hardware active.

(00:1f.2 RAID bus controller: Intel Corporation 5 Series/3400 Series Chipset 
SATA RAID Controller (rev 05))

I have follow this suggest:
http://h2.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=encc=usprodTypeId=15351prodSeriesId=3984625prodNameId=3984626swEnvOID=4006swLang=13mode=2taskId=135swItem=MTX-d7a175cef91649e7ab86653b61

... start with linux dd and, at the end of setup, 
install the hpahcisr into kernel 2.6.18-194.el5PAE

But after reboot if I run a yum update and reboot, the new kernel not
contain the driver hpahcisr for new kernel and I get a kernel panic. 

The question is:

How to update to last kernel without lost the proprietary driver?

It's possible?

Where is the new driver for new kernel?

Many thanks.

-- 
Dario Lesca d.le...@solinos.it

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] HP ML110 G6: how to update kernel with HP hpahcisr raid driver installed

2010-09-30 Thread Dario Lesca
Il giorno gio, 30/09/2010 alle 07.54 -0400, mark ha scritto:
 Dario Lesca wrote:
 snip
  ... start with linux dd and, at the end of setup, install the
 
 What? What are you saying you did with the dd command?
At dvd boot prompt, I have add 'dd' option an I have load hp driver.

 Where'd you get the original?
On the hp site

 Does installation of it build the driver, the way, for example, I have
 to rebuild a years-old driver for my Nvidia card at work, every time I
 update the kernel?
HP not release the source of driver.

Now I have reinstall and solved this issue
adding a exclude=kernel* into /etc/yum.conf

Thank to all.

-- 
Dario Lesca d.le...@solinos.it

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos