Latest Server related questions

Score: 0
Shadasviar avatar
Zabbix logfile monitoring: how to get timestamp from log message
fr flag

I have some rotated log files in csv format, which contains numeric data and timestamp of the event, and I need to plot this data with milliseconds precision.

I try to use zabbix log file monitoring function for this purpose, but zabbix inserts time of getting log from zabbix agent instead of real event time. In the Log item type, there is Log time format field, which allow to parse timestamp of even ...

Score: 0
grrind avatar
Block all ip except some ip in apache2.4 with mod_jk
cn flag
<VirtualHost *:80>
JkMount /* balancer

JkMount /jkmanager jkstatus
ServerName localhost

<Location /jkmanager/>
JkMount jkstatus
AllowOverride none
Require all denied
Require ip ip1
Require ip ip2
Require ip ip3

</Location>

</VirtualHost>

Hello guys Above is my httpd.conf file

I'm having trouble with control ips in apache2.4 I want to block all ip but ip1, ip2, ip3

It is toally ...

Score: 0
How to re-use vault files in different Ansible Tower projects?
in flag

I have an Ansible Tower installation and a lot of playbooks in Gitlab projects. Several projects make use of vault files, i.e. they contain credentials for a VMware VCenter.

Whenever I start a new project/playbook, I keep making copies of vault files from project to project because in Ansible Tower I can't access more than one GitLab project at once. That leads to vault files scattered all over m ...

Score: 0
Nstevens avatar
why is faillog, tallylog and lastlog so big?
br flag

I got a notice from a backup system (rsnapshot) today that it's storage volume was full. A closer look reveals some older snapshots where faillog, tallylog and lastlog are bigger than the actual filesystem they are on (/var is a 6G partition).

-rw-r--r--  3 root       root             65G Feb 11 08:33 faillog
-rw-------  3 root       root            129G Feb 11 08:33 tallylog
-rw-rw-r--  2 root   ...
Score: -1
peter avatar
How can I get a list of domain names managed by a DNS server?
sa flag

For example, how can I get a list of domains whose name server is ns1.example.com? If it is not possible to get the complete list, can I get part of the list?

Score: 0
mod_wsgi daemons not working
ph flag

I setup mod_wsgi on my ubuntu/apache2 server.

I'm trying to run threads but daemons do not work.

When I try to run them in the background, nothing happens.

My wsgi script:

import sys, logging
sys.path.insert(0, "/var/www/xxx/public_html/blockchain/")

from app import app as application

logging.basicConfig(filename'/var/www/xxx/blockchain/wsgi.log', level=logging.INFO, filemode='w')

My xxx.conf file  ...

Score: 0
Andrew avatar
Ubuntu 18.04 cannot enter the graphical interface after booting
mx flag

The ubuntu 18.04 desktop version will enter the following interface after restarting:

enter image description here

enter image description here

If I want to enter the graphical interface after booting, what method should I take to solve the above problem。

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.