Reputation
971
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
5 9
Newest
 Yearling
Impact
~56k people reached

May
10
comment Syntax error near unexpected token `fi'
@rackandboneman agreed, that's why I called this snippet using bash test1.sh.
May
9
answered Syntax error near unexpected token `fi'
May
9
comment Installed MySQL but can't find it
Red Hat, Fedora and CentOS packages install the mysql client to /usr/bin usually. Unless the script (I can't download it to check for myself) sets up some external repositories I'd expect these packages to install to /usr/bin.
May
9
comment Installed MySQL but can't find it
According to the question the OP uncommented that part. But it is something to check to be certain. What is the output of rpm -qa|grep mysql?
May
9
comment Can't SSH to VPS (timeout)
What OS? Is it just SSH that is not working or are all services unavailable? e.g. if you have an HTTPD daemon can you browse the site or connect via telnet to port 80/443? What is the output of ssh -vv <IP address>? What does telnet <IP address> 22 give? Please add the output to your question, adding it as a comment will not be very readable. Can you also post the output of ps auxwww|grep ssh|grep -v grep and sudo netstat -nap|grep sshd? The ps -A output might show existing ssh connections and not the required SSH daemon.
May
9
revised Setting up SMTP server (Windows 2008 R2) to use with Microsoft Data Protection Manager
question is specific to Windows 2008 r2, datacenter tag does not appear to be very relevant
May
9
suggested approved edit on Setting up SMTP server (Windows 2008 R2) to use with Microsoft Data Protection Manager
May
8
awarded  Commentator
May
8
comment Remote access to Centos server not working
Besides the questions asked by @johnshen64: check log files /var/log/messages and /var/log/secure. What kind of authentication do you use? local accounts, LDAP, etc.?
May
8
comment Linux time configuration?
Better to use NTP as suggested by @zoredache. Setting the time at regular intervals will cause the clock to "jump" regularly causing all sorts of issues (e.g. cron jobs not running or running twice), while NTP will keep your clock in sync constantly using small adjustments that do not affect the system adversely.
May
7
comment cron jobs with the same execution time
I'm not sure what you mean by "within the same file". But if you mean that you have several lines with the same time specification (like the 0 * * * * you posted earlier) then as other have posted there is no guarantee on the order they will run in. They may run in parallel on a multi-core system, AFAIK the order in which they run may even be different each day. The naming convention I mentioned in combination with a run-parts or the use of a master script that calls the actual backup scripts is the only way to ensure scripts are executed in a particular order.
May
3
revised Why does one system take so much more time to “apply personal settings” when it boots?
Question is specific for Windows, tagged accordingly.
May
3
answered cron jobs with the same execution time
May
3
suggested approved edit on Why does one system take so much more time to “apply personal settings” when it boots?
May
3
answered What is the middleware in a typical Debian LAMP stack?
Apr
30
comment Linux closing connection after successful login
log on via the console and check the /var/log/messages and /car/log/secure logs when you try to log on remotely. Try logging on with ssh -vvv <servername> so you can see what is going wrong. dmesg output might be useful as well but you'll need to trim and post only relevant parts. Can you log on with any user account on the local console or only root? Is the SSH daemon running (ps auxwww|grep ssh)?
Apr
30
awarded  Critic
Apr
29
awarded  Editor
Apr
29
revised Installing Jenkins with Puppet fails to import GPG key
added the assumeyes option to automaticaly import the needed gpgkey
Apr
27
awarded  Organizer