Displaying 20 results from an estimated 4000 matches similar to: "CentOS 6.2: suspending vim with ctrl-z and resuming with fg - stopped working"
2012 Jan 20
1
Setting From address for cronjob mails (because Gmail rejects)
Hello,
I have two identical CentOS 6.2 machines with
stock Postfix package and unchanged config:
# rpm -qa|grep post
postfix-2.6.6-2.2.el6_1.x86_64
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
2016 Jun 24
1
haproxy + Apache + virtual hosts -> wrong host is displayed
Hello,
I hope my question is not off-topic here.
On CentOS 7.2.1511 I have installed:
haproxy-1.5.14-3.el7.x86_64
httpd-2.4.6-40.el7.centos.1.x86_64
The /etc/haproxy/haproxy.cfg binds HAProxy to
ports 80 and 443 and accepts HTTPS to slova.de:
defaults
mode http
option http-server-close
option forwardfor except 127.0.0.0/8
option
2011 Apr 25
2
Samba can't access dir - SELinux problem?
Hello,
I was using CentOS 5.5 as a "playground" VM at my WinXP notebook
and now I'm migrating to a new CentOS 5.6 install
and everything has worked well - except samba.
I have this very permissive config to export my ~/src dir:
# cat /etc/samba/smb.conf
[global]
guest ok = yes
guest account = afarber
security = share
hosts allow = 172.16.6. 127.0.0.1
[src]
2010 Dec 17
1
Passing LD_LIBRARY_PATH through sudo
Hello,
I have a CentOS 5.5/64bit VM, where I only have sudo rights:
afarber ALL=(ALL) NOPASSWD: ALL
I'm trying to pass LD_LIBRARY_PATH
through sudo to install DBD::Oracle
( https://rt.cpan.org/Ticket/Display.html?id=63678 )
and have tried using "sudo -E" and also
changing these lines in the stock /etc/sudoers:
Defaults !env_reset
Defaults env_keep =
2010 Sep 29
5
Forbidden: can't access *.html files in /var/www/html
Hello,
I'm using the latest CentOS with phpBB 3.0.x + postgreSQL + sendmail
(relayed through gmail.com) - all those programs working fine,
with no big modifications of the CentOS defaults (i.e. SELinux is on).
Now I'm struggling with the seemingly simple problem, that when
I put an .html file into /var/www/html/ then Apache won't serve it.
In the browser I see:
"Forbidden
You
2011 Oct 04
2
Migrating CentOS 5 -> 6: where to put /etc/inittab respawn scripts?
Hello,
sorry, for 1 more question on CentOS 5 -> CentOS 6 migration.
On my old CentOS 5.7 machine I have the following line:
pref:3:respawn:/bin/su -c '/usr/local/pref/pref.pl >/tmp/pref-`date
+%a`.txt 2>&1' afarber
and this has served me well, I don't want to install
anything else like daemontools etc. - to keep my web-server
easily reinstallable (or movable to
2014 Aug 11
3
Use postfix and spamd on CentOS 6 - looking for a shortest guide
Hello fellow CentOS-users,
on the net there are lots of Spamassassin related HOWTOs - describing how
to create a shell script for Postfix and how to install Spamassassin and
start its spamd daemon - step by step. Additionally antivirus setups are
described...
But I have a strong feeling, that this is unneeded on CentOS 6 - because
there are already preconfigured stock packages for postfix and
2016 Jun 21
4
Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?
Hello Gordon and others
On Tue, Jun 21, 2016 at 4:13 PM, Gordon Messmer <gordon.messmer at gmail.com>
wrote:
> On 06/21/2016 02:30 AM, Alexander Farber wrote:
>
>> -A PREROUTING -p tcp -m tcp -d 144.76.184.154/32 --dport 80 -j REDIRECT
>> --to-ports 8080
>>
>
>
> I think you have the ports backward, here.
>
here the problem description again:
I have
2016 Jun 21
2
Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?
Hello again,
unfortunately the following /etc/sysconfig/iptables file does not work:
*nat
:INPUT ACCEPT
:OUTPUT ACCEPT
:PREROUTING ACCEPT
:POSTROUTING ACCEPT
#-A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
-A PREROUTING -p tcp -m tcp -d 144.76.184.154/32 --dport 80 -j REDIRECT
--to-ports 8080
COMMIT
*filter
:INPUT DROP
:OUTPUT ACCEPT
:FORWARD DROP
-A INPUT -m state --state
2016 Jun 20
3
Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?
Good evening,
on a CentOS 7 LAMP (not gateway) dedicated server I am
using iptables-services with the following /etc/sysconfig/iptables:
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [294:35064]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p icmp -m icmp --icmp-type any -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp -m
2008 Dec 11
6
yum-updatesd or similar for CentOS 4
Hello,
we have enabled yum-updatesd on our dozen real
and virtual machines running CentOS 5.2 some time
ago and are very satisfied:
afarber at ablsw01:~> grep -v ^# /etc/yum/yum-updatesd.conf
[main]
run_interval = 7200
updaterefresh = 1200
emit_via = email
dbus_listener = no
do_update = yes
do_download = yes
do_download_deps = yes
(it would be good to make it use the proxy though...)
My
2016 Jun 21
2
Redirecting port 8080 to port 80 - how to add in /etc/sysconfig/iptables file?
On Tue, 2016-06-21 at 15:46 +0100, Always Learning wrote:
> On Tue, 2016-06-21 at 16:24 +0200, Alexander Farber wrote:
>
> > *nat
> > :INPUT ACCEPT
> > :OUTPUT ACCEPT
> > :PREROUTING ACCEPT
> > :POSTROUTING ACCEPT
> > -A PREROUTING -p tcp --dst 144.76.184.154 --dport 8080 -j REDIRECT
> > --to-port 80
>
>
2019 Feb 14
2
Migrating to Samba 4.9.4 AD, kinit administrator -> kinit: Cannot contact any KDC for realm...
On 2019/02/14 21:12, Rowland Penny via samba wrote:
> On Thu, 14 Feb 2019 19:14:19 +0200
> Ashley via samba <samba at lists.samba.org> wrote:
>
>> Hi there
>>
>> I have migrated from an older version of Samba DC to Samba 4.9.4 AD.
>> Running Centos 7. One server with everything on... (AD and file
>> server) Bind 9.9.4
>>
>> Built from
2019 Feb 14
2
Migrating to Samba 4.9.4 AD, kinit administrator -> kinit: Cannot contact any KDC for realm...
Hi there
I have migrated from an older version of Samba DC to Samba 4.9.4 AD.
Running Centos 7. One server with everything on... (AD and file server)
Bind 9.9.4
Built from source.
Followed directions in the wiki.
All seems to go fine, but when I startup samba-ad-dc it shows a few errors.
([kdc failed to setup interfaces])
The initial tests (in the directions in wiki) go fine until I get to
2020 Oct 05
2
certbot stopped working on CentOS 7: pyOpenSSL module missing required functionality
Yes, I had a typo in the mail, but not in the cronjob
Still wondering how to get certbot-1.7.0-1.el7.noarch working on CentOS 7
again.
2011 Oct 09
5
[Bug 41608] New: Suspending/resuming system with cursor on external screen prevents said screen from restoring after resume
https://bugs.freedesktop.org/show_bug.cgi?id=41608
Summary: Suspending/resuming system with cursor on external
screen prevents said screen from restoring after
resume
Product: xorg
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
2012 Apr 05
0
CEBA-2012:0454 CentOS 6 vim FASTTRACK Update
CentOS Errata and Bugfix Advisory 2012:0454
Upstream details at : https://rhn.redhat.com/errata/RHBA-2012-0454.html
The following updated files have been uploaded and are currently
syncing to the mirrors: ( sha256sum Filename )
i386:
f5fb381c68dac283a214458c704c4bce8eba4a6c636f9d1b7672f54912e18bc9 vim-common-7.2.411-1.8.el6.i686.rpm
2009 Feb 26
1
ssh -t host sleep 100 + Ctrl-Z (SIGSTOP) does not suspend process?
Currently executing "ssh -t host sleep 100" and then pressing Ctrl-Z (to send SIGSTOP) does not seem to suspend the SSH process. Would it make sense to have Ctrl-Z suspend the SSH process, or is there some rationale for not doing that? I'm not intimately familiar with how SSH interacts with terminals on pseudo-TTY allocation, which is why I'm asking.
1997 Jun 30
0
R-beta: Color specifications -- simple 'bg' / 'fg' swapping -- proposal
Consider the following example :
data(iris)
attach(iris)
par(bg = 'midnightblue', fg = 'yellow')
plot(Petal.Length, Petal.Width, main = "Fisher's iris data", sub = "3 kinds")
##>>> gives black axis labels and titles ...
## Currently, the plot I want is produced by
par(bg = 'midnightblue', fg = 'yellow', col.axis='yellow',
2020 Oct 05
0
certbot stopped working on CentOS 7: pyOpenSSL module missing required functionality
Not directly an answer to your question, but we had so many problems with the certbot in different constellations, that we moved to
https://github.com/acmesh-official/acme.sh
which works just fine basically everywhere
cheers
Soeren
?On 05.10.20, 15:18, "CentOS on behalf of Alexander Farber" <centos-bounces at centos.org on behalf of alexander.farber at gmail.com> wrote: