Hot answers tagged

5

The model of SSD in your server has well-known and widely-reported performance issues with writing large data sets. It's cheap junk that even manages to cost more than similar products without these issues. Replace it. (Or, get your host to replace it, in this case.)


3

No, this is not possible in the sense of a "normal" CPU. You could use CUDA or a similar library if supported on your GPU chip, but that is not at all useful for general server tasks. However, most servers that are not designed for GPU computing have very weak GPUs and wouldn't offer any real benefit anyway.


2

If you've arrived here, chances are you have two services where one depends upon the other but, because they're starting in the wrong order, the one with the dependency is failing to start. Suggestions about editing the symlinks are informative, in terms of illustrating how the startup sequence runs, and would work alright until someone did a "chkconfig on" ...


2

but my server is using passphrase No it's not. Your key is encrypted so your client is requesting the pass phrase so that it can decrypt it. Don't be tempted to remove the encryption from the key - it's a Bad Thing TM. Instead use ssh-agent or pageant (windows) to store your keys (safely) in memory for the duration of your session. How eactly you do ...


2

You should check if yum is configured to check gpg signatures. You're looking for something like this in /etc/yum.repos.d/epel.repo: [epel] [...] gpgcheck=1 If that's there, then as Alex notes, you wouldn't be able to use the repo if the signatures weren't matching the keys. That is also Red Hat's formal advice on the subject (see bottom of linked ...


1

I am not familiar with Cent OS default directory structure, but you will want to follow something like this: <Directory /> Require all denied AllowOverride None Options None </Directory> <Directory /PATH ON SERVER TO YOUR DOCUMENT ROOT> Require all granted AllowOverride All Options FollowSymLinks </Directory> ...


1

you created (or tried to create) a 4Tb file so delete it and create a 4Gb file: rm /swapfile dd if=/dev/zero of=/swapfile bs=1024 count=4000000 good luck!


1

I had this problem with CentOS 7.2 and ImageMagick 6.9.3-9. After much trial and error I discovered that 6.9.3-8 works, while 6.9.3-9 has dependencies that fail to resolve. Fortunately http://rpm.pbone.net/ found a repository with the older version. IMAGEMAGICK_VERSION=6.9.3-8 # Be warned, 6.9.3-9 does not work; dependencies fail to resolve ...


1

Configuration file must have right privileges also: sudo chmod 0755 /etc/sysconfig/network-scripts/ifcfg-* At /etc/sysconfig/network can have those lines: NETWORKING=yes HOSTNAME=myhostname.mydomain NETWORKING_IPV6=yes


1

wanted to comment on some answers, but couldn't (not enough reputation) so replying the question: YES, downgrade is needed so that nc can listen. and as for the other comments: a) -p is not supposed to be used when in listening mode. from nc manpage: -l Used to specify that nc should listen for an incoming connection rather than initiate ...


1

You can remove the passphrase from a key with ssh-keygen -p. This is the beginning of a key called FOO, which as you can see is encrypted with a passphrase: [me@risby .ssh]$ head -5 FOO -----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: AES-128-CBC,DCF8CD9222D62A42D0BFE4FC284BD6BB ...


1

The issue is the rule order. Entering the commands in that order will end up like this: If port 3306 DROP If port 3306 and Source IP is 1.2.3.4 ACCEPT The issue is you drop the connection for before checking the Source IP. This is because the commands you entered prepend and not append the rules, thus the last command entered becomes the first rule. ...


1

If it doesn't exist yet you might want to create that log directory then (with suitable permissions) as for many applications the inability to write to the log file is a reason by itself to fail to start. Exit codes are a method a command/script/process can use to indicate succes/failure. A command which exits with a zero exit status has succeeded. ...


1

Try using vi instead on the same file. This would be an easy way to determine if it's an issue with the program, file or something else.


1

You installed mysql55w and mysql55w-libs from a third-party repository, probably to get version 5.5, but those packages conflict with the standard mysql-devel package provided by CentOS, which is at version 5.1. You likely need to find the equivalent -devel package from the third-party repository. Try installing mysql55w-devel instead of mysql-devel.


1

How about "bind mount" ? # mount -o bind /var/www/vhosts/website1.com/ /home/ContractorA/website1.com/ # mount -o bind /var/www/vhosts/website2.com/ /home/ContractorA/website2.com/ # mount -o bind /var/www/vhosts/website3.com/ /home/ContractorA/website3.com/ # mount -o bind /var/www/vhosts/website1.com/ /home/ContractorB/website1.com/ # mount -o bind ...


1

Configure the approriate SELinux booleans List the related booleans # semanage boolean -l | egrep 'ftp|http' | sort Turn on booleans that may be applicable temporarily i.e. # setsebool httpd_can_connect_ftp on To turn a boolean on permanently use -P flag i.e. # setsebool -P ftp_home_dir on



Only top voted, non community-wiki answers of a minimum length are eligible