Reputation
1,938
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
5 12
Newest
 Yearling
Impact
~59k people reached

Aug
10
answered How to secure mount NFS folder for read & write access?
Aug
9
comment Script doesn't work as cron job
One difference when running as a crontab is that you don't source /etc/profile. Have you tried . /etc/profile at the top of your script or when calling the cron job? Does that change result for you?
Aug
9
comment Multipath device unpresented to host. How to delete it from LVM and the system?
LVM reads disk labels to figure out which devices contain pv:s. Once the devices are gone, lvm won't have any disks to fail reading them from. I suppose you could do a vgchange -a n <name_of_errorvg> before you remove the devices.
Aug
9
answered Multipath device unpresented to host. How to delete it from LVM and the system?
Aug
8
comment How to run a recursive chmod that stop at FileSystem Boundaries
and I prefer combining find with -exec rather than piping it to xargs (check here stackoverflow.com/questions/896808/find-exec-cmd-vs-xargs ) for a bit of background...
Aug
8
comment Why has Red Hat Cluster Suite stopped working?
Is your cluster up and running? Is cman started on the nodes, what does clustat and cman_tool status say? (asking because you say that you've recreated the config on a previously running cluster.
Aug
7
comment 'mysql' Command not Connecting as used from PATH but Works if Full Path is Used
Depending on the case, I'd probably prepend the PATH in /etc/profile.d/custom_mysql.sh file, like put a line containing something like export PATH=/opt/lampstack/mysql/bin/:$PATH at the beginning of the file. Beware though that then the OS will probably default to using this new mysql aswell, which might break things, so I guess for you the best way is to have a check in there to, for example if there is a specific user only who should use this binary then add a check, or add the stanza to ~user/.bashrc (or what ever shell that user is using)
Aug
7
answered 'mysql' Command not Connecting as used from PATH but Works if Full Path is Used
Aug
5
comment yum - If local mirror is down, stop
I don't know why it would try with any other mirror than those specified in the config file, however, if you want to explicitly check weather your custom mirror is OK before trying I don't know if there is such a thing, but writing a yum plugin for it should be simple enough.
Aug
4
awarded  Informed
Aug
4
answered yum - If local mirror is down, stop
Aug
4
comment LXC - quota inside container
did you run # quotacheck -cug / ? I'm not too familiar with AppArmor, but it could be the culprit check the logs
Aug
3
answered LXC - quota inside container
Aug
1
comment Squid workers and server cpus
you can try the lscpu if available to you for listing the cpus. I sometimes find that output easier to read.
Jul
14
revised Heartbeat meatware STONITH on kernel panic
some clarifications
Jul
14
revised Heartbeat meatware STONITH on kernel panic
some clarifications
Jul
13
answered Heartbeat meatware STONITH on kernel panic
Jul
12
comment How can I create cron jobs in specific files on Linux Centos
because you said "How can I make root run those jobs for all files in that folder?" and putting stuff in the folder @Michael said "/etc/cron.d" requires you specify a user to run each job.
Jul
12
comment How can I create cron jobs in specific files on Linux Centos
this requires you put root after the time in the file, like 30 3 * * 1-5 root /home/user/scripts/backup.sh
Jul
11
answered vsftpd + vitual users + selinux