Re: [CentOS] dhcpd frequent renewals

2016-02-18 Thread Rob Kampen

On 18/02/16 13:41, david wrote:

Rob
DNS service for my clients is provided by my gateway server, the same 
machine as the DHCPD server.  I think that's what the "option 
domain-name-servers" line does.  This allows me to provide 192.168 
addresses to them when they try to access anything inside the house 
with a name.  If it's not a locally defined name, BIND forwards the 
request to the internet.


I'm not sure I understand about dhcpd log and dns log.  I scan 
/var/log/messages, using the service name as the key.  Looking at 
'named' entries, all I see are messages of the form "clients-per-query 
increased to XX".

I have had entries like:
 - dhcpd Begin 

 Unknown Entries:
Abandoning IP address 192.168.229.104: pinged before offer: 1 Time(s)

As I am not normally anywhere near this server, it is one I remote 
manage, I have not followed up,
I am now implementing a new network for them and hoping all this hassle 
will be a thing of the past.

Sorry I have no other insight.

I'm still mystified by the fact that only the i-devices (iphone, ipad) 
exhibit this behavior of rapid dhcpd renewals.  Mac's and PC's don't.


David

At 06:48 AM 2/17/2016, you wrote:

On 16/02/16 16:59, david wrote:

Folks

This might be the wrong place to ask, but I don't know where to turn.
My internal home network, including wireless, is controlled by a 
Centos6 server, which provides dhcpd services, along with NAT.  I 
have DHCPD configured with the addresses 192.168.155.200 through 
192.168.155.254 as the range for dynamic allocations.  The 
default-lease time is 1800 seconds, the maximum is 3600 seconds.


My windows clients, and even an ipad-mini behave nicely, asking for 
DHCP renewals once ever five minutes, or at about 80% of the default 
lease time, a behavior I can understand. However, several of my 
guests, with their own iPads, I-watches, iPhones, connect to my 
network (via a wireless access point which does not do routing 
functions) and they're renewing once every 20-30 seconds.  In 
addition, these devices also loose connectivity for brief intervals, 
which seems to be roughly synchronized with dhcp renewal.  This last 
fact I deduce by doing "tail -f /etc/log/messages" and hearing them 
say "lost connection" at just about the same moment the DHCPREQUEST 
and DHCPACK statements show up.


It's difficult to believe that Apple IOS devices (all of which are 
running apple's latest) have a dhcp client problem not shared by 
windows or even linux hosts.


Does anyone have any clues?
does your dhcpd update the dns? name resolution for devices seems to 
be required for some applications and thus the dns needs to know 
about the leases. Have you checked your dhcpd log entries and your 
dns log entries? I have had situations where the dhcpd lease is 
dropped due to not being able to complete dns update of the info - 
thus the client retries again and again - they do get onto the 
internet but the connection drops and a new lease is requested,

HTH

David Kurn
San Francisco

DHCPD.CONF file is excerpted below:


ddns-update-stylenone;

subnet 192.168.155.0 netmask 255.255.255.0 {
authoritative;
option routers 192.168.155.2;
option subnet-mask255.255.255.0;
option broadcast-address192.168.155.255;
option domain-name"daku.org";
option domain-name-servers192.168.155.2;
option netbios-name-servers192.168.155.2;

option time-offset-28800;# Pacific standard time

range dynamic-bootp192.168.155.200 192.168.155.254;
default-lease-time1800;
max-lease-time3600;
}




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


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


Re: [CentOS] centos7 :: ks.cfg :: customisation of sshd

2016-02-18 Thread Gener Badenas
On Thu, Feb 18, 2016 at 3:48 AM, Adrian Sevcenco 
wrote:

> Hi! I want to change the sshd port at install for centos7 but i am not sure
> if i am on the good track (and it is time expensive to make many
> try-outs)..
> So, i would be grateful if someone with experience can spot if i have
> problems
> with my planning.. (the actual purpose is that after installation i have
> access
> for my ansible provisioning)
>
> first make sure ssh is started
> services --enabled=sshd,chronyd
>
> then .. i imagine that in the %post section
> %post --interpreter=/usr/bin/bash --log=/root/ks-post.log
> 1. i could use sed to change the port
> sed -i 's/#Port\ 22/Port 6/' /etc/ssh/sshd_config
> 2. sed -i 's/#PermitRootLogin\ yes/PermitRootLogin\ yes/'
> /etc/ssh/sshd_config
>

Not sure if off topic, but you may also consider disabling password login
and use key pair to connect through ssh


> 3. enable key access
> mkdir -p /root/.ssh
> chmod 700 /root/.ssh
> cat << EOF >> /root/.ssh/authorized_keys
> my_ssh_pubkey
> EOF
> 4. semanage port -a -t ssh_port_t -p tcp 6
> 5. firewall-cmd --permanent --zone=public --add-port=6/tcp
> 6. systemctl enable firewalld.service
>
> did i miss anything?
> Thank you!
> Adrian
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
>


-- 
Java  and Groovy

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


Re: [CentOS] CentOS 7, Xeon CPUs, not booting, [SOLVED], bug filed

2016-02-18 Thread Gordon Messmer
On Thu, Feb 18, 2016 at 2:25 PM,   wrote:
>
> Note that /dev/sdd1 and /dev/sde1, which both have labels that begin with
> a leading slash, mounted correctly. This, to me, indicates the bug is with
> grub2's handling of LABEL=.

I'm pretty sure grub2 just passes strings to the kernel.  Also, if
you're able to select an older kernel and the system boots, then the
signs probably point to a problem with the kernel's handling of
labels.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Restoring session status

2016-02-18 Thread H
I am running  CentOS 6.6 on both a couple of servers and on a laptop. When I 
let the laptop sleep, window states and positions are restored correctly when I 
awaken it. However, when I shut down the laptop, later turn it on and log in, 
none of the terminal windows and directory windows are restored correctly to 
e.g. minimized state, instead they are restored to when they last were in use.

Naturally, this is a little bit annoying: have I missed a setting somewhere?

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


Re: [CentOS] CentOS 7, Xeon CPUs, not booting, [SOLVED], bug filed

2016-02-18 Thread m . roth

> What I did:
> 1. in /etc/fstab, I changed LABEL= to /dev/sda*
> 2. I did rebuild the initramfs with that.
> That still didn't do it.
>
> Finally, I did this: from the grub2 boot menu, I edited the kernel line so
> that instead of reading ... root=LABEL=/, it read root=/dev/sda3, and it
> booted with zero issues.
>
> There is, therefore, a bug in grub2? the handoff to systemd? where it does
> not handle LABEL correctly.
>

One more bit of information, which I added to the bug report: using
e2label, I relabeled /boot and / to boot and root, and edited /etc/fstab
and /etc/grub2.cfg to reflect that... and it booted with no trouble. I
believe that a month ago, I neglected to edit grub2.cfg.

Note that /dev/sdd1 and /dev/sde1, which both have labels that begin with
a leading slash, mounted correctly. This, to me, indicates the bug is with
grub2's handling of LABEL=.

mark

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


Re: [CentOS] CentOS 7, Xeon CPUs, not booting, [SOLVED], bug filed

2016-02-18 Thread m . roth
Paul Heinlein wrote:
> On Thu, 18 Feb 2016, m.r...@5-cent.us wrote:
>
>> This is happening on anything other than plain vanilla Dell servers. One
>> R730, with dual Tesla cards, one R420, with a fibre card for a RAID
>> device, it never switches root. All these systems have Xeons, not AMD
>> CPUs.
>>
>> We've had this with every one of the 327 kernels. In addition, it seems
>> to happen also with the 229.20.1; the 229.14.1 has no such problem.
>>
>> From the rdsosreport:
>> starting at line 126:
>> /dev/disk/by-label:
>> total 0
>> lrwxrwxrwx 1 root 0 10 Jan 27 19:03 SWAP -> ../../sda2
>> lrwxrwxrwx 1 root 0 10 Jan 27 19:03 \x2f -> ../../sda3
>> lrwxrwxrwx 1 root 0 10 Jan 27 19:03 \x2fboot -> ../../sda1
>>
>> Then, starting at line 1283:
>> [3.317027]  systemd[1]: Found device ST500NM0003-9ZM172
>> /.
>> [3.317974]  systemd[1]: Starting File System Check on
>> /dev/disk/by-label/\x2f...
>> [3.320089]  systemd-fsck[590]: Failed to detect device
>> /dev/disk/by-label//
>> [3.320567]  systemd[1]: systemd-fsck-root.service: main
>> process exited, code=exited, status=1/FAILURE
>> [3.320972]  systemd[1]: Failed to start File System
>> Check
>> on /dev/disk/by-label/\x2f.
>>
>> Does *ANYONE* have any clues as to what's going on?
>>
>> Meanwhile, on a plain vanilla Dell R420, I see:
>> ll /dev/disk/by-label/
>> total 0
>> lrwxrwxrwx. 1 root root 10 Feb 17 10:06 SWAP -> ../../sda2
>> lrwxrwxrwx. 1 root root 10 Feb 17 10:06 boot -> ../../sda1
>> lrwxrwxrwx. 1 root root 10 Feb 17 10:06 root -> ../../sda3
>>
>> So, what is this by-label with the x2f, and why can't it find the
>> drives?
>>
>> Or do I have to file a bug report? This is a true show-stopper.
>
> Here are a few related thoughts:
>
> The 'x2f' looks to me very similar to me to %2F, the URL encoding for
> the forward slash (/).
>
> If you look in /usr/lib/udev/rules.d, you'll see rules like
>
> ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*",
> SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"
>
> where, if ID_FS_LABEL_ENC were equal to "/", then the rule would be
> disk/by-label// -- with two trailing slashes, which (perhaps) gets
> interpreted not as one slash (like cd might do) by as "/x2f".
>
> That's the end of random thought #1.
>
> The second is like it:
>
> A local C7 machine has this root entry in /etc/fstab:
>
>/dev/mapper/vg00-rootdev  /  xfs  defaults  0  0
>
> When I search my system logs for messages like the ones in your
> original post, I see
>
>systemd: Found device /dev/mapper/vg00-rootdev.
>systemd: Starting File System Check on /dev/mapper/vg00-rootdev...
>
> It's only after that's complete that I get device-specific messages
> like
>
>systemd: Found device ST9600204SS.
>
> So I'm interested to know the content of your /etc/fstab file.
>
> End of thought #2.

I just successfully brought up one that consistently failed. And filed a
bug report, 0010398.

What I did:
1. in /etc/fstab, I changed LABEL= to /dev/sda*
2. I did rebuild the initramfs with that.
That still didn't do it.

Finally, I did this: from the grub2 boot menu, I edited the kernel line so
that instead of reading ... root=LABEL=/, it read root=/dev/sda3, and it
booted with zero issues.

There is, therefore, a bug in grub2? the handoff to systemd? where it does
not handle LABEL correctly.

mark

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


Re: [CentOS] CentOS 7, Xeon CPUs, not booting

2016-02-18 Thread Paul Heinlein

On Thu, 18 Feb 2016, m.r...@5-cent.us wrote:


This is happening on anything other than plain vanilla Dell servers. One
R730, with dual Tesla cards, one R420, with a fibre card for a RAID
device, it never switches root. All these systems have Xeons, not AMD
CPUs.

We've had this with every one of the 327 kernels. In addition, it seems to
happen also with the 229.20.1; the 229.14.1 has no such problem.

From the rdsosreport:
starting at line 126:
/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root 0 10 Jan 27 19:03 SWAP -> ../../sda2
lrwxrwxrwx 1 root 0 10 Jan 27 19:03 \x2f -> ../../sda3
lrwxrwxrwx 1 root 0 10 Jan 27 19:03 \x2fboot -> ../../sda1

Then, starting at line 1283:
[3.317027]  systemd[1]: Found device ST500NM0003-9ZM172 /.
[3.317974]  systemd[1]: Starting File System Check on
/dev/disk/by-label/\x2f...
[3.320089]  systemd-fsck[590]: Failed to detect device
/dev/disk/by-label//
[3.320567]  systemd[1]: systemd-fsck-root.service: main
process exited, code=exited, status=1/FAILURE
[3.320972]  systemd[1]: Failed to start File System Check
on /dev/disk/by-label/\x2f.

Does *ANYONE* have any clues as to what's going on?

Meanwhile, on a plain vanilla Dell R420, I see:
ll /dev/disk/by-label/
total 0
lrwxrwxrwx. 1 root root 10 Feb 17 10:06 SWAP -> ../../sda2
lrwxrwxrwx. 1 root root 10 Feb 17 10:06 boot -> ../../sda1
lrwxrwxrwx. 1 root root 10 Feb 17 10:06 root -> ../../sda3

So, what is this by-label with the x2f, and why can't it find the drives?

Or do I have to file a bug report? This is a true show-stopper.


Here are a few related thoughts:

The 'x2f' looks to me very similar to me to %2F, the URL encoding for 
the forward slash (/).


If you look in /usr/lib/udev/rules.d, you'll see rules like

ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_ENC}=="?*", 
SYMLINK+="disk/by-label/$env{ID_FS_LABEL_ENC}"


where, if ID_FS_LABEL_ENC were equal to "/", then the rule would be 
disk/by-label// -- with two trailing slashes, which (perhaps) gets 
interpreted not as one slash (like cd might do) by as "/x2f".


That's the end of random thought #1.

The second is like it:

A local C7 machine has this root entry in /etc/fstab:

  /dev/mapper/vg00-rootdev  /  xfs  defaults  0  0

When I search my system logs for messages like the ones in your 
original post, I see


  systemd: Found device /dev/mapper/vg00-rootdev.
  systemd: Starting File System Check on /dev/mapper/vg00-rootdev...

It's only after that's complete that I get device-specific messages 
like


  systemd: Found device ST9600204SS.

So I'm interested to know the content of your /etc/fstab file.

End of thought #2.

--
Paul Heinlein <> heinl...@madboa.com <> http://www.madboa.com/
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Substitute pdftk with other command

2016-02-18 Thread Harold Toms

On 18/02/16 17:20, Dario Lesca wrote:


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
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/

--
regards

H

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


[CentOS] CentOS 7, Xeon CPUs, not booting

2016-02-18 Thread m . roth
This is happening on anything other than plain vanilla Dell servers. One 
R730, with dual Tesla cards, one R420, with a fibre card for a RAID
device, it never switches root. All these systems have Xeons, not AMD
CPUs.

We've had this with every one of the 327 kernels. In addition, it seems to
happen also with the 229.20.1; the 229.14.1 has no such problem.

>From the rdsosreport:
starting at line 126:
/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root 0 10 Jan 27 19:03 SWAP -> ../../sda2
lrwxrwxrwx 1 root 0 10 Jan 27 19:03 \x2f -> ../../sda3
lrwxrwxrwx 1 root 0 10 Jan 27 19:03 \x2fboot -> ../../sda1

Then, starting at line 1283:
[3.317027]  systemd[1]: Found device ST500NM0003-9ZM172 /.
[3.317974]  systemd[1]: Starting File System Check on
/dev/disk/by-label/\x2f...
[3.320089]  systemd-fsck[590]: Failed to detect device
/dev/disk/by-label//
[3.320567]  systemd[1]: systemd-fsck-root.service: main
process exited, code=exited, status=1/FAILURE
[3.320972]  systemd[1]: Failed to start File System Check
on /dev/disk/by-label/\x2f.

Does *ANYONE* have any clues as to what's going on?

Meanwhile, on a plain vanilla Dell R420, I see:
ll /dev/disk/by-label/
total 0
lrwxrwxrwx. 1 root root 10 Feb 17 10:06 SWAP -> ../../sda2
lrwxrwxrwx. 1 root root 10 Feb 17 10:06 boot -> ../../sda1
lrwxrwxrwx. 1 root root 10 Feb 17 10:06 root -> ../../sda3

So, what is this by-label with the x2f, and why can't it find the drives?

Or do I have to file a bug report? This is a true show-stopper.

  mark

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


Re: [CentOS] centos7 :: ks.cfg :: customisation of sshd

2016-02-18 Thread Gordon Messmer

On 02/18/2016 10:27 AM, Mike - st257 wrote:

( You forgot to escape the space before 6 in the first sed expression
you provided. )


True, but you shouldn't need to escape spaces at all:

sed -i 's/#Port 22/Port 6/; s/#PermitRootLogin yes/PermitRootLogin yes/'


Though I will note there is some sort of syntax error with the
PermitRootLogin sed expression (present in the original you provided). I
spent a moment looking at it and the problem with that second expression
evades me right now.


I ran the command he provided and didn't see a problem.  What did you see?

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


Re: [CentOS] dhcpd frequent renewals

2016-02-18 Thread david

Rob
DNS service for my clients is provided by my gateway server, the same 
machine as the DHCPD server.  I think that's what the "option 
domain-name-servers" line does.  This allows me to provide 192.168 
addresses to them when they try to access anything inside the house 
with a name.  If it's not a locally defined name, BIND forwards the 
request to the internet.


I'm not sure I understand about dhcpd log and dns log.  I scan 
/var/log/messages, using the service name as the key.  Looking at 
'named' entries, all I see are messages of the form 
"clients-per-query increased to XX".
I'm still mystified by the fact that only the i-devices (iphone, 
ipad) exhibit this behavior of rapid dhcpd renewals.  Mac's and PC's don't.


David

At 06:48 AM 2/17/2016, you wrote:

On 16/02/16 16:59, david wrote:

Folks

This might be the wrong place to ask, but I don't know where to turn.
My internal home network, including wireless, is controlled by a 
Centos6 server, which provides dhcpd services, along with NAT.  I 
have DHCPD configured with the addresses 192.168.155.200 through 
192.168.155.254 as the range for dynamic allocations.  The 
default-lease time is 1800 seconds, the maximum is 3600 seconds.


My windows clients, and even an ipad-mini behave nicely, asking for 
DHCP renewals once ever five minutes, or at about 80% of the 
default lease time, a behavior I can understand.  However, several 
of my guests, with their own iPads, I-watches, iPhones, connect to 
my network (via a wireless access point which does not do routing 
functions) and they're renewing once every 20-30 seconds.  In 
addition, these devices also loose connectivity for brief 
intervals, which seems to be roughly synchronized with dhcp 
renewal.  This last fact I deduce by doing "tail -f 
/etc/log/messages" and hearing them say "lost connection" at just 
about the same moment the DHCPREQUEST and DHCPACK statements show up.


It's difficult to believe that Apple IOS devices (all of which are 
running apple's latest) have a dhcp client problem not shared by 
windows or even linux hosts.


Does anyone have any clues?
does your dhcpd update the dns? name resolution for devices seems to 
be required for some applications and thus the dns needs to know 
about the leases. Have you checked your dhcpd log entries and your 
dns log entries? I have had situations where the dhcpd lease is 
dropped due to not being able to complete dns update of the info - 
thus the client retries again and again - they do get onto the 
internet but the connection drops and a new lease is requested,

HTH

David Kurn
San Francisco

DHCPD.CONF file is excerpted below:


ddns-update-stylenone;

subnet 192.168.155.0 netmask 255.255.255.0 {
authoritative;
option routers 192.168.155.2;
option subnet-mask255.255.255.0;
option broadcast-address192.168.155.255;
option domain-name"daku.org";
option domain-name-servers192.168.155.2;
option netbios-name-servers192.168.155.2;

option time-offset-28800;# Pacific standard time

range dynamic-bootp192.168.155.200 192.168.155.254;
default-lease-time1800;
max-lease-time3600;
}




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


Re: [CentOS] centos7 :: ks.cfg :: customisation of sshd

2016-02-18 Thread Mike - st257
On Wed, Feb 17, 2016 at 2:48 PM, Adrian Sevcenco 
wrote:

> Hi! I want to change the sshd port at install for centos7 but i am not sure
> if i am on the good track (and it is time expensive to make many
> try-outs)..
> So, i would be grateful if someone with experience can spot if i have
> problems
> with my planning.. (the actual purpose is that after installation i have
> access
> for my ansible provisioning)
>
> first make sure ssh is started
> services --enabled=sshd,chronyd
>
> then .. i imagine that in the %post section
> %post --interpreter=/usr/bin/bash --log=/root/ks-post.log
> 1. i could use sed to change the port
> sed -i 's/#Port\ 22/Port 6/' /etc/ssh/sshd_config
> 2. sed -i 's/#PermitRootLogin\ yes/PermitRootLogin\ yes/'
> /etc/ssh/sshd_config
> 3. enable key access
> mkdir -p /root/.ssh
> chmod 700 /root/.ssh
> cat << EOF >> /root/.ssh/authorized_keys
> my_ssh_pubkey
> EOF
> 4. semanage port -a -t ssh_port_t -p tcp 6
> 5. firewall-cmd --permanent --zone=public --add-port=6/tcp
> 6. systemctl enable firewalld.service
>
> did i miss anything?
>

The %post section is definitely where you want your commands.
I'd combine the sed commands in points 1 and 2, but that's a small nit
picky suggestion.
( You forgot to escape the space before 6 in the first sed expression
you provided. )

sed -i -e 's/#Port\ 22/Port\ 6/'  -e's/#PermitRootLogin\
yes/PermitRootLogin\ yes/' /etc/ssh/sshd_config

Though I will note there is some sort of syntax error with the
PermitRootLogin sed expression (present in the original you provided). I
spent a moment looking at it and the problem with that second expression
evades me right now. *grumble*

-- 
---~~.~~---
Mike
//  SilverTip257  //
___
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] Re: Substitute pdftk with other command

2016-02-18 Thread Yamaban

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).

 - Yamaban.
___
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


Re: [CentOS] Can't install CentOS 7 on SuperMicro X7DB3 with Adaptec AIC-9410 Controller

2016-02-18 Thread Tru Huynh
On Thu, Feb 18, 2016 at 07:55:47PM +0800, homer...@sina.com wrote:
> I have a server with Super Micro X7DB3 motherboard and Adaptech
> AIC-9410 controller
> (http://www.supermicro.com/products/motherboard/Xeon1333/5000P/X7DB3.cfm).
> The hard disk is single SeaGate SAS disk (300Gb).
> 
> I'd like to install CentOS 7 on the server, but unfortunately, the CentOS 
> installer can't find any hard disk.
> I think the problem maybe caused by the disk controller.
https://lists.centos.org/pipermail/centos/2009-August/081252.html

try to configure the AIC-9410 as plain SAS/SATA controller on the bios.

Cheers

Tru
-- 
Tru Huynh 
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B


pgp8bHqNiiXKC.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Thunderbird can not import S/MIME certificate

2016-02-18 Thread Leon Fauster
Am 18.02.2016 um 09:27 schrieb Timo Schoeler :
> in May 2015 I reported [0] that I can not import my S/MIME
> certificate. Issuer is GlobalSign.
> 
> Jan Horak reassigned it to the nss guys ("This seems to be problem in
> NSS code, reassigning to nss component"), but then the ticket idled
> and was eventually closed by EOL of Fedora 21 (though I stated it
> persists with F22).
> 
> I just reopened the ticket because it still doesn't work. The
> certificate itself is okay, it works on other platforms.
> 
> Nobody else using S/MIME?
> 
> Best,
> 
> Timo
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1218977



I would suggest to duplicate the report or reassign it 
to RHEL, if you want that this reaches CentOS ASAP ...

--
LF




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


[CentOS] Can't install CentOS 7 on SuperMicro X7DB3 with Adaptec AIC-9410 Controller

2016-02-18 Thread homeryan
I have a server with Super Micro X7DB3 motherboard and Adaptech AIC-9410 
controller 
(http://www.supermicro.com/products/motherboard/Xeon1333/5000P/X7DB3.cfm). The 
hard disk is single SeaGate SAS disk (300Gb).

I'd like to install CentOS 7 on the server, but unfortunately, the CentOS 
installer can't find any hard disk.
I think the problem maybe caused by the disk controller.

Can you please tell me how to fix the problem ?

Thanks for your help!
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Thunderbird can not import S/MIME certificate

2016-02-18 Thread Timo Schoeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,

in May 2015 I reported [0] that I can not import my S/MIME
certificate. Issuer is GlobalSign.

Jan Horak reassigned it to the nss guys ("This seems to be problem in
NSS code, reassigning to nss component"), but then the ticket idled
and was eventually closed by EOL of Fedora 21 (though I stated it
persists with F22).

I just reopened the ticket because it still doesn't work. The
certificate itself is okay, it works on other platforms.

Nobody else using S/MIME?

Best,

Timo

https://bugzilla.redhat.com/show_bug.cgi?id=1218977

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iF4EAREIAAYFAlbFgGYACgkQuSPmkPhAW0r2QQD+Pn97WYQNwItYmJ4eqgMm4ufk
SSWrC4Yjm7iEYNotTkEA/RbB9lLTjecLaCpkQ33zV1bVCcHdsvQfi/WLhZH5zwur
=/SFq
-END PGP SIGNATURE-
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel parameters ignored -

2016-02-18 Thread Michael H
On 17/02/16 19:55, John R Pierce wrote:
> On 2/17/2016 6:39 AM, Michael H wrote:
>> Some additional information;
>>
>> sysctl -a | grep kernel.shm
>> kernel.shmall = 8650752
>> kernel.shmmax = 35433480192
>> kernel.shmmni = 4096
>>
>> which corresponds to my /etc/sysctl.conf
>> kernel.shmmax=35433480192
>> kernel.shmall=8650752
>>
>> but contradicts;
>> ulimit -a
>> [...]
>> stack size  (kbytes, -s) 8192
> 
> 
> SysV Shared Memory has nothing to do with stack size.
> 
> note, btw, the latest releases of postgres (I think as of 9.3?) no
> longer need large values of shmall,shmmax as they now use a different
> method of allocating the shared_buffers ...
> 

Hi John,

I dived into the issue in a panic, trying to fix something that was
completely unrelated. Turns out my service file was overwritten and lost
my stack setting. I've resolved it now with a drop-in snippet.

I like the look of the new features in postgresql but we are using
postgresql-server.x86_64 9.2.14-1.el7_1.

Thanks for the information,

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