Tag Info

New answers tagged

-2

ssh user234@192.168.10.20 or the hostname more options like port number ssh -p 10245 root@box listening socket on the destination (very cool) ssh -g -L8022:another_ip:22 user@primary_ip then in another shell you can ssh to another_ip through the primary_ip on port 8022 ssh -p 8022 user@primary_ip


4

ssh'ing to a VM is no different than ssh'ing to any other system on the network. Log into one of the VM's, and type: ssh othervm.your.network


0

Your hardware clock should be storing UTC time, but you forgot to use the -u option to tell hwclock this. For example, hwclock -ru Resetting the date and then running hwclock -su will resolve the problem.


1

The first answer from jornane is correct so far as it goes, however I do not believe it addresses what the OP is really trying to get at - which is how best to handle migration of email and accounts, rather than how to handle DNS. Ordinarily there are many ways to handle this task, but because we are dealing with only one server which will be going through ...


1

Building from source is quite straightforward. Digital Ocean has a nice guide on building Git from source on CentOS 7. Place the resulting binary in /usr/local/bin/ on your CentOS 7 system (which, by default, is included in your $PATH) and you're good to go. Of course you would prefer packages/using the repo, however given your situation I would not ...


1

TL;DR E-mail servers will keep messages in their queue a few days if they can't be delivered. Normally during a migration, you'd have to change DNS records, but since you're staying with the same server (same IP) there's no need for that. You can simply shutdown the server, install the new one, and you're good to go. The only important thing is that you ...


1

Short answer is yes. To be absolutely accurate the final command would probably be sendmail -bd -q15m. Assuming a dist based on init scripts you can always have a look at the scripts in /etc/init.d to see what can be set in the sysconfig file and how the commands are built up.


1

As Tilman Schmidt already pointed out, you have an all-zero host part. However, I also had trouble enabling IPv6 in an LXC container. This worked for me on CentOS 7: In /etc/sysconfig/network-scripts/ifcfg-eth0, add: IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_PEERDNS=yes IPV6_PEERROUTES=yes IPV6_FAILURE_FATAL=yes ...


4

DHCP works via a multicast request for an IP address. Which gets an IP address from the first DHCP server to respond. There is no way that I know of to force the client to get a DHCP address from a specific server. In fact, running two DHCP servers that are not aware of each other is asking for the type of trouble you are running into. You need to get the ...


0

Concerning the GUI; I think you find this under "Direct Configuration". To access it you have to select it in "View". I could be wrong. Side note To delete rules; you have to exit and then reenter.


2

The address 2001:41d0:2:XXXX::/64 has an all-zero host part. Try assigning a proper address, eg. 2001:41d0:2:XXXX::YYYY/64. Before you try pinging a host on the Internet like ipv6.google.com, check if you can ping the default gateway by its numeric address 2001:41d0:2:xxff:ff:ff:ff:ff. Also check if XXXX == xxff in the above addresses. Otherwise your ...


0

I'd suggest maybe you Google it before asking here. The first result is this, which seems to be exactly what you need to do.


0

It may be a problem with how TCP window interact with the NIC driver. First, check that TCP window scaling is enabled, issuing sysctl -a | grep net.ipv4.tcp_window_scaling. If it is not enabled, activate it using sysctl net.ipv4.tcp_window_scaling=1 and retry your test. If it does not work, you may be in need of manual tuning of TCP parameters. As it can ...


2

CentOS 6 default installation sets up Postfix listening on localhost. You can disable it with chkconfig or uninstall it with yum, but you need to provide a replacement as the system needs a way to send mail to an administrator in various situations.


0

The strace output isn't telling you anything about the value of the TCP_NODELAY option. What it is telling you is that you are calling getsockopt with a zero-length buffer for the response. The kernel will not be able to return any useful information when the length of the buffer is zero. In the output [0] is an indication of the size of the buffer you gave ...


0

Just try to stop before reassambling array : sudo mdadm -Esv sudo mdadm --stop /dev/md* sudo mdadm --misc --scan --detail /dev/md0 sudo mdadm -v --assemble "$array" "$disk1$part" "$disk2$part"


0

during the discussion (in russian), it was found the location of the server with the package archive: https://dl.iuscommunity.org/pub/ius/archive/Redhat/5/


1

Nevermind, I found dsync tool from Dovecot wiki. As alternative, you can also use imapsync.


1

RedHat/CentOS doesn't take complete new versions of packages like OpenSSL into older releases, they "backport" only security fixes; see https://access.redhat.com/security/updates/backporting . Note the "build" date in version -a is much newer than the OpenSSL release date for 1.0.1e. And if you look at the version in the rpm name with rpm -q you should see ...


1

I had this in the past too on RedHat with version 1.0.0. Had the latest version according to RedHat. You can either ignore this message or add APP_WHITELIST="openssl:1.0.0" so that rkhunter accepts this version and does not print the warning.


-1

Use full path to cp , it will override the alias /usr/bin/cp -u --force /home/oldfolder/*.jpg /home/newfolder/


0

I had a similar case in the past. Add RequestHeader unset "Authorization".


1

I m using Zend Server Community Edition 5.5 with PHP 5.3 on CentOS 6.5. Working fine.You can use Zend Server Community Edition 5.5 if you have php 5.3. try this link to install zend server ce


0

Can you post doveconf -n output? Also, if you saw: Jul 23 01:30:39 platinum dovecot: master: Warning: /selinux is no longer mounted. See http://wiki2.dovecot.org/Mountpoints you should use doveadm mount list to list all partitions (the one used by dovecot shoud have ! at the begining) and doveadm mount remove /selinux. That might solve your problem.


1

From the information you provided, I'm assuming that you are most probably running RHEL 6 or CentOS 6. Perhaps you should try starting the dovecot service manually first and post the log again. --Update Ok. These steps should fix the problem. Edit the file using the command vi /etc/dovecot.conf Find the line which has login_process_size Uncomment it and ...


0

I'm not sure if this really an answer, but it seems that after powered off then on the SDSL modem making it back to normal. So I guess the modem is the culprit. Anyway I'm still using it. Thanks.


2

This is due to SELINUX. Try putting it in permissive mode, issuing setenforce 0 and test if Samba now works. If it works and you want to refine your configuration, you can tag /var/www with the public_content_rw_t label and re enable selinux with setenforce 1 For more information, see here


0

The problem existed with kernel 2.6.32-431.el6 from CentOS 6.5. At the time the question was posed, this was a fairly old kernel. We looked at the changelog for RHEL/CentOS kernels, and saw lots of NFS-related activity. So we upgraded to (what was) the newest CentOS 6.6 kernel, 2.6.32-504.12.2.el6, and haven't experienced the problem since.


1

I suggest you to enable AJP connector in both Tomcat and Apache httpd. This binary protocol is dedicated for Java HTTP proxying. Using it may save you configuration time and effort and lower bandwith and resource requirement. Btw., <Proxy *> directive is irrelevant on reverse proxies.


0

For the fun, you can also use Puppet! puppet apply -e 'notice("$clientversion")' Also, in a manifest on the Puppet master, you can add such line: fail("Server version: $serverversion, Client version: $clientversion")' fail(inline_template("<%=clientversion.split('.')[0]%>")) (Note that $serverversion is empty when using puppet apply)


-2

Running strace ls /var/www/ will give you hind of what is wrong. I had similar issue for / dir and using strace I was able to locate it was a NAS mount which caused it. Unmounting that NAS fixed the issue.


0

Your local X server does not support the "RANDR" extension. Most likely this is because it's a Windows-based X server. Try using a different X server, or better yet a Linux desktop (as all Linux desktops have this extension).


2

I've found some people with a similar issue and their solution may work for you. What they did was run the HAL daemon as root: hald --verbose=yes --daemon=no. They received an error that a file could not be created in /var/cache/hald/. The problem was resolved by creating this directory and re-running the daemon. You may not get this error but the error ...


1

To allow registration, the web app requires sending email, so I'm configuring the server's mail service (is that the correct way to do it?) No, you don't have to set up full blown mail server just for app who required to send email. Just use outgoing email service like ssmtp.


0

You have 2 IPs in the same subnet(82.79.24.74/29) on the same interface (em2): ๐›Œ ~ ipcalc 82.79.24.74/29 Address: 82.79.24.74 01010010.01001111.00011000.01001 010 Netmask: 255.255.255.248 = 29 11111111.11111111.11111111.11111 000 Wildcard: 0.0.0.7 00000000.00000000.00000000.00000 111 => Network: 82.79.24.72/29 ...


1

While you could write a customer profile or modify one of the existing, I'd recommend tuned-adm profile enterprise-storage based on your hardware information. If you need more changes beyond that, just use "enterprise-storage" as a baseline.


0

Thanks for your answers. I solved both problems. The first problem was the 502 Bad Gateway and I solved by reinstalling the PHP modules and writing the proper configuration on the nginx files (check out the location ~* .php$ part in the wiki location block). I finally made use of just one configuration file, writing a new location block and also writing ...


1

Your main domain doesn't have to point to your mailserver. You just need to add an A Record to your domains. For example you have example.com which points to a server hosting the main website. You need to go to your DNS administration panel and create an A Record (e.g. mail ==> IP_ADDRESS) which directly points to your MailServer's IP address. After that ...


4

Typically you want to have an out-of-band management session that will allow you to monitor the reboot. Ensure that you have the root password at hand in case you do need to enter single user mode. You might want to check if the reboot will force a file-system check, which might take a long time on very large file-systems. Similar, you might want to ...


0

Apache usually does not log through syslog. You would have to pipe the logs through logger, see this guide. Not sure if that is a good idea performancewise. *.* in syslog configuration not a file mask. It is a mask for <facility>.<priority> ... so something like kern.error. See the docs for how it works.


0

Apache doesn't use syslog by default, it just writes into some files defined in the Apache config by default. You can either configure Apache to pipe the log to syslog, e.g. via logger or configure rsyslog to monitor the Apache files and send the content to the remote server.


0

Just for future reference, I finally discovered what the problem was. This was actually due to a CentOS kernel due to timesync tx control register not set as expected. References: https://groups.google.com/forum/#!topic/springdale-users/bBqrE545sYo http://bugs.centos.org/view.php?id=6810 In the end this problem simply resolved itself after I upgraded to ...


0

The questions you are asking are mismatched. OpenVPN is a service to provide a secure, private network to a group of hosts. TightVNC is a remote desktop server and viewer application that you would use to view and possibly control a remote machine that is running a VNC server. If the end result is you would like users to view and possibly control your ...


2

Those files are empty files, therefore, they're not included into cpio archive, but are listed in rpm, even after you install rpm and if you'll check it with rpm -V sssd - it will have normal output, because it's listed in rpmdb that way, even when files are deleted, here is snippet from SRPM: p.s. very interesting case!


0

http://php.net/manual/en/phar.installation.php The Phar extension is built into PHP as of PHP version 5.3.0. Phar may be installed via the PECL extension with previous PHP versions, and the ยป Phar PECL page contains further information and history. It looks like your PHP is not compiled with Phar support, you will need to recompile it in order to get Phar ...


1

Here is a little shell script I created for our developers. This way each time they roll out WordPress they don't have to remember all what to do. Your file structure is almost certainly somewhat different so will need to modify a bit. Please feel free to suggest improvements. SELinux isn't my specialization, but I'm learning it. #!/bin/sh # License: Public ...


0

The authbind tool will work. Just install/unpack it and prepend it to your command. For my installation I edited /usr/share/java-utils/java-functions and called $JAVACMD with it and it worked with no problem.


0

This is the correct way to install vnc server: Install the following packages: yum install pixman pixman-devel libXfont tigervnc-server.x86_64 -y Edit the file /etc/sysconfig/vncservers and add the following lines: VNCSERVERS="6:<LOGIN_NAME>" VNCSERVERARGS[6]="-geometry 1152x864" In the first line, "6:" means that the vnc server daemon will ...


0

Most cluster schedulers/resource managers also allow binding of a task to specific CPUs or cores. Slurm and Moab are resource managers that are very commonly used on HPC cluster systems and offer this functionality with standard CPUs as well as additional compute resources like GPUs, coprocessors and other compute accelerators. If it is possible to keep ...


1

One option to have the configurations in separate files is to use include directive. Something like this: server { listen 80; server_name hostname.com; auth_basic "Restricted Access"; auth_basic_user_file /etc/nginx/htpasswd.users; location /kibanaadmin/ { proxy_pass http://localhost:5601/; proxy_http_version 1.1; ...



Top 50 recent answers are included