smtp,port,plesk,centos7,smtp-auth
Server doesn't provide auth, it may be because of "smtpd_tls_auth_only = yes" in /etc/postfix/main.cf. "smtpd_tls_auth_only = yes" forbid authentication on non-secure connection like port 25. You can just change it to "no", or try using secure port 465 in Android Mail Client. It's quite easy to check your SMTP server...
Swap isn't a filesystem (like e.g. ext3) and thus isn't mounted in the normal sense. Use "swapon -s", it will confirm the numbers from the "free" output.
haskell,haskell-platform,centos7
Here's how I solved the problem: First, I installed ghc manually. wget https://www.haskell.org/ghc/dist/7.8.4/ghc-7.8.4-i386-unknown-linux-deb7.tar.xz tar xvf ghc-7.8.4-i386-unknown-linux-deb7.tar.xz cd ghc-7.8.4 sudo mkdir /usr/local/ghc-7.8.4 ./configure --prefix=/usr/local/ghc-7.8.4 NOTE: Even though the version I installed was made on a Debian 7 "wheezey" system and supposedly only requires libgmp.so.10, I got error messages about libgmp.so.3. I...
(I work for the host in this case) There was an issue with the DHCP server that was causing some instances to lose their IP address on DHCP lease renewal. Specifically, the DHCP server would intermittently respond with a NAK, which would cause the server to lose it's IP address....
Try the systemd mask command rather than disable: systemctl mask <service_name> The disable command still allows the service to be started, for example, in response to another service requesting it as a dependency (even if optional), or manually. However mask disables the service completely. Also, I don't believe either mask...
linux,amazon-web-services,amazon-ec2,centos,centos7
This is normal behaviour on the Amazon Linux AMI. From Amazon Linux AMI 2014.03 Release Notes: Cloud-Init 0.7.2 Cloud-Init has been updated to the 0.7 series, adding a number of useful features. One example is dracut-modules-growroot, which automatically resizes your root filesystem on boot. I note that CentOS 7 (x86_64)...
wordpress,nginx,varnish,php-fpm,centos7
Before changes can affect you need to restart/reload your nginx, in CentOS it's done by running: /etc/init.d/nginx restart (If you are not root use sudo) You are requiring that all your included files will be suffixed with '.conf', please make sure your file has this extension. Last thing, you configured...
It turns out that CentOS 7 (and I'm assuming RHEL 7) have a firewall other than iptables called firewalld. After disabling this firewall in my dev environment I was able to successfully syslog to 514. systemctl disable firewalld systemctl stop firewalld systemctl status firewalld Disabling the firewall is admittedly overkill,...
these would point to a firewall issue: If the connection times out (rather than fails instantly) If a directory listing from the client also fails as a workaround you could try passive (PASV) FTP....
Firstly, I found kernel modules "ceph" and "rbd" is configured as "Y" or "M" A kernel module is configured as either "Y" or "M". If you grep for the module under /boot/config it would be marked either of those. If marked "Y" then the module is already built into the...
centos,capistrano,bundler,pg,centos7
The postgres binaries are not in the path. Symlink them in to a directory in your path and you should be good: ln -s /usr/pgsql-9.4/bin/p* /usr/local/bin. Did you build postgres or install it from yum?...
mysql,wordpress,file-permissions,user-permissions,centos7
chown apache:apache wp-content .... did the trick. A good way to see the user is to set file permission to 777 in uploads and all directories with aka recursively. Check the owner of the uploaded file and voila, chown (to that owner). Also the user is not set by...
apache,playframework,proxy,playframework-2.3,centos7
I solved this problem by removing preceding www from each ServerNames
This is due to the firewall problem. I have tick the service mysql in the public zone in firewall setting. However, I don't know if this is a "safe" practice. Thanks.
Take a look at http://olivierlefebvre.tumblr.com/post/101523386694/asp-vnext-alpa4-on-ubuntu I fixed like that. Step Used git clone https://github.com/joyent/libuv.git cd libuv sh autogen.sh ./configure make make check sudo make install Final by adding a symlink to the lib ln /usr/local/lib/libuv.so -sf ~/.kpm/packages/Microsoft.AspNet.Server.Kestrel/1.0.0-alpha4/native/darwin/universal/libuv.dylib ...
Init.d script starts the Node script from the node executable's path. You need to specify the script's directory by __dirname to make the paths absolute. logging: { debugToFile: true, debug: path.join(__dirname, 'logs/mediaServerStatus-debug.log'), info: path.join(__dirname, 'logs/mediaServerStatus-info.log'), warn: path.join(__dirname, 'logs/mediaServerStatus-warn.log'), error: path.join(__dirname, 'logs/mediaServerStatus-error.log'), } Be sure to var path = require('path'); before...
centos,centos7,systemd,cgroups,resource-scheduling
The systemd shipping with RHEL/Centos 7 is based on version 208. That CPUQuota support doesn't appear to be included until 213. You should be able experiment by running the process in the slice/scope you want and then directly modifying the cpu.cfs_{quota,period}_us ratio under /sys/fs/cgroup/cpu/... I expect whatever you set there...
linux,apache,httpd.conf,centos7
SOLVED: apparently I put my file structure in the wrong section so I was essentially referencing something that wasn't there. I moved the file structure to the root directory and everything works.
try echo $DISPLAY to see the installed GUI visit http://askubuntu.com/questions/432610/how-to-know-which-processes-have-the-display-variable-set
Because systemd is configured to give nginx a private /tmp. If you must use the system /tmp instead for some reason then you will need to modify the .service file to read "PrivateTmp=no".
There's an oft-overlooked paragraph at the top of the Usage section of the README (relevant emphasis mine): You can create an .nvmrc file containing version number in the project root directory (or any parent directory). nvm use, nvm install, nvm exec, nvm run, and nvm which will all respect an...
Evidently there was a bug fixed with later versions of the image. If this is happening to you, it may be a legitimate bug in Cloud-Init or your servers implementation of it. A package upgrade may fix the problem, also an update to the image will fix it globally.
php,wordpress,apache,mod-rewrite,centos7
i found the way to know if a module is loaded or not, here's to command to list the modules enabled: apachectl -M | sort It will list all enabled modules alphabetically. Wordpress has an .htaccess but default where it enables Rewrite_Mod for its use: # BEGIN WordPress <IfModule mod_rewrite.c>...
php,apache,chown,centos7,chgrp
Check your /etc/httpd/conf/httpd.conf file and search for user and group [e.g. User apache Group apache]. Those are the owners by default. In your website there is no need too add write permissions for files and folders assigned to user:group, but you can set readable by owner and others in order...
Postgres provide postgres 9.3 and postgis 2.1 for Centos 7. Link here. Hopes it helps....
I had similar issue with nginx, I fixed it by using rpath option. Not sure if it will help with Apache. Try building your binary like this: gcc test.c -Wl,-rpath /usr/local/lib -lfcgi -o test.fcg Make sure the library file libfcgi.so.0 is present at /usr/local/lib. If you don't have access to...
gruntjs,graphicsmagick,centos7
The docs state that You may wish to pass a custom tolerance threshold to increase or decrease the default level of 0.4. gm.compare('/path/to/image1.jpg', '/path/to/another.png', 1.2, function (err, isEqual) { ... }) You can also pass the tolerance in your options-object var options = { file: '/path/to/diff.png', tolerance: 1.2 } edit:...
ruby-on-rails,rbenv,capistrano3,centos7
Your problem in this line. You should specify :user value for rbenv_type variable because you have installed rbenv to user directory.
ansible,ansible-playbook,centos7,rhel7
Whoops -- this question belongs on serverfault not stackoverflow ... http://serverfault.com/questions/666579/recommended-way-to-configure-a-centos-7-network-interface-with-static-settings-v?noredirect=1#comment814300_666579...
It's more likely that you need to run your JVM with an increased maximum memory setting. The JVM will run with it's own limit on memory usage (subject to that available from the OS). e.g. $ java -Xmx2048m ... will run the JVM with a maximum memory setting of 2Gb....
symfony-1.4,dropzone.js,centos7
... /** * Set file permissions after moving it to target folder */ chmod($targetFile, 0700); //rwx only for owner ... ...
CentOS 7: Works Step 1: $ rpm -Uvh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm $ yum install nginx php php-mysql php-fpm mariadb-server mariadb $ systemctl start nginx.service $ systemctl enable nginx.service $ sudo systemctl start mariadb $ sudo mysql_secure_installation $ sudo systemctl enable mariadb.service $ sudo vi /etc/php.ini cgi.fix_pathinfo=0 $ sudo vi /etc/php-fpm.d/www.conf listen =...
java,tomcat,centos7,systemd,jsvc
In general, most of the functionality provided by jsvc is provided by systemd, with the exception of opening of privileged ports (see below). If possible, it is a very good idea to switch to using systemd functionality directly, since things become simpler and more efficient. Your unit file looks mostly...
postgresql,nginx,gitlab,centos7
According to this doc, put this in /etc/gitlab/gitlab.rb : # Disable the built-in Postgres postgresql['enable'] = false # Fill in the values for database.yml gitlab_rails['db_adapter'] = 'postgresql' gitlab_rails['db_encoding'] = 'utf8' gitlab_rails['db_host'] = '127.0.0.1' gitlab_rails['db_port'] = '3306' gitlab_rails['db_username'] = 'foo' gitlab_rails['db_password'] = 'bar' And run this command to apply this values...
linux,nginx,php-fpm,selinux,centos7
Figured it out, for anyone else with the same issue, 403 forbidden access and selinux security error use this command on your servers root restorecon -r /srv/www/domain.com Fixed it for me and now everything is running as it should. ...
linux,desktop,centos7,gnome-3,gnome-shell
Took a while but I found the culprit! It lives within /usr/share/gnome-shell/js/ui/layout.js Just look for the function below and comment out the code inside. Afterwards, type Alt+F2 and type restart. It's take a second or two and will only reset gnome. You might have to do a wireless re-login and...
linux,login,centos,centos7,gnome-3
I ended up reinstalling the os. However, I ended up getting the same issue. It was a two part error. So adding anything to my /etc/environment file caused the system not to login. Also, after you install, you need to sudo /etc/passwd because the gnome-init-shell and gdm need to have...
authentication,centos,centos7,openvas
Ok now I tried and found the solution. For every OpenVAS command we should provide the username and password. EX: openvas-cli -u xxxx -w xxxxxxx -g openvas-cli -u xxxx -w xxxxxxx -g ...
ruby-on-rails,c,ruby,ruby-on-rails-4,centos7
We finally found the source of the problem. We were using a gem called tiny_tds and as far as I can tell, this gem will not work with centOS 7. All issues resolved once it was removed and redeployed.
You're likely not doing anything truly wrong, it's just that /sbin/reboot is shutting down the server so quickly that the server is tearing down the SSH connection used by Ansible before Ansible itself can close it. As a result Ansible is reporting an error because it sees the SSH connection...
Ok, I found the issue: selinux Here's the solution: http://kb.sp.parallels.com/en/11142 In case the page goes down: Symptoms After you change the default directory to store website content (say, to "/home"), you are unable to access the content of subdomains and additional websites over the Web. Cause This problem occurs if...
apache,varnish,varnish-vcl,apache2.4,centos7
You need to allow traffic from the Internet to port 80. Edit the iptables config as follows: # sample configuration for iptables service # you can edit this manually or use system-config-firewall # please do not ask us to add additional ports/services to this default configuration *filter :INPUT ACCEPT [0:0]...
command-line,elasticsearch,centos,kibana,centos7
Once you have started elasticsearch on console, you can check whether elasticsearch is running or not by entering following url in browser: http://localhost:9200 By entering above url if you get a response such as: { "status" : 200, "name" : "Doppelganger", "cluster_name" : "elasticsearch", "version" : { "number" : "1.5.2",...
apache,proxy,php-fpm,fcgi,centos7
After hours of research I understood that the reason that this occurs is because the ProxyPassMatch directive is the first directive to be processed, and this causes apache to ignore the other directives for the .php extensions. To be able to use other apache directives with php-fpm via the proxy_fcgi_module...
It sounds as if they overlay filesystem is not available in your kernel. First, check if it is listed in /proc/filesystems: # grep overlay /proc/filesystems nodev overlay If it's not there, it may be available as a loadable kernel module. You can load it using modprobe: # modprobe overlay If...