3,972 reputation
2919
bio website
location Fort Lauderdale, FL
age 30
visits member for 3 years, 10 months
seen yesterday

System architect & Linux admin for cloud.com (Citrix).


Aug
21
comment No SSH password prompt
We need more info. Can you connect with ssh -v and provide the output?
Aug
19
comment LDAP: unable to enter DIT LDIF: LDAP_NO_SUCH_OBJECT error
@Foezjie are you binding with the rootDN set for the dc=ulyssis,dc=org database? Binding with the rootDN for another DB (like cn=config) will not work unless the rootDN is set the same for both databases.
Aug
15
comment What service reads /etc/security/access.conf?
And to answer the other question 'do I need to restart anything after editing it?'; No, you do not. The file is read every time a session is opened (in your case, when a cron job runs).
Aug
13
comment Locked up virtual memory
Can you provide the output when you attempt to start these processes that fail to start? We can't do anything without an error message.
Aug
13
revised Locked up virtual memory
edited tags
Aug
12
comment How do I get the exit code of a process that's piped to tee?
Why'd you ask the question if you know the answer?
Aug
12
comment yum: Difference between mysql, mysql-server and mysql-devel
mysql-devel should only be needed for building applications which use mysql. It should not be needed for applications which merely use mysql.
Aug
12
revised How to Disable SSLv2 for Apache httpd
fix title to accurately reflect question
Aug
9
answered Do I need an SSL certificate if all traffic is being redirected to another secure domain?
Aug
9
comment Linux raid controller (LVM/MDADM)
Try . pvscan; vgreduce --removemissing raid5_vol1 (from docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/…)
Aug
2
comment Syslog-ng prepends <[0-9]+> to my messages
as Clayton answered, thats the priority+facility. But that shouldn't be showing up. What does your config for that (file) destination look like? You're not using a custom template or anything are you?
Jul
31
comment Default http redirection when domain name requested, with a flashed dd-wrt router
Adding the address=/www/192.168.1.156 is unnecessary. All entries added to the static leases automatically end up in the router's DNS. In fact, IIRC, this option is supposed to be given a fully qualified host name or domain, so it's likely not even working (as intended).
Jul
31
comment Default http redirection when domain name requested, with a flashed dd-wrt router
@Throoze I'd suspect a typo or something similar. Order doesnt matter, and address= does override public dns. They even advertise using this feature to black-hole internet ads by doing something like address=/double-click.net/127.0.0.1. Under setup -> basic setup, do you have Use DNSMasq for DNS set?
Jul
28
comment postfix sort mails using a cronjob
I should also note that maildrop is another very popular utility for doing mail filtering.
Jul
28
comment postfix sort mails using a cronjob
@Zulakis no, its filtering the message once as its received. Postfix hands the message to dovecot-lda which invokes the sieve filter to figure out where the mail should go.
Jul
26
comment How to search for text in a PuTTY console window
And on the grep, if its gnu grep, you can do grep --color foo to highlight foo. This is useful if your lines are really long and you need to see where in the line the match is at.
Jul
23
comment Cron task failing on specific job
@Ladadadada is correct (on the users thing). But an su wont give you the same environment cron runs commands with. The environment is inherited from init on boot.
Jul
19
comment ifconfig not reporting DHCP-assigned address
ifconfig is deprecated. Its ancient, lacking in significant functionality, and as such is discontinued. Use the iproute2 toolkit instead. I bet if you do ip addr show you'll see the IP show up just fine.
Jul
14
comment MySQL: Pacemaker cannot start the failed master as a new slave?
I'm not sure why it's not logging. Not saying you did something wrong, just makes no sense. The next step I'd take is to fully duplicate the environment. Edit /usr/lib/ocf/resource.d/percona/mysql and add env > /tmp/$$.env. Then have the script fail again, and in the log look for WARN: Managed p_mysql:1:start process XXXX exited with return code 1. Then do IFS=$'\n' ENV=( $(cat /tmp/XXXX.env) ); env -i - "${ENV[@]}" sh -x /usr/lib/ocf/resource.d/percona/mysql start (replacing XXXX with the pid from the log). This will give you the exact same environment the script runs with.
Jul
12
comment MySQL: Pacemaker cannot start the failed master as a new slave?
I'm not sure why its failing as your log doesnt contain any messages from the resource script (the ocf_log commands). However the crm_attribute error is because the script is broken and is setting a non-existent attribute (it's non-fatal though). Also the reason the script works when you run it manually is because you're not setting the variables which tells the script its a master/slave resource. So when it runs, the script thinks its just a single standalone instance. And since this works, that indicates the error is likely when it tries to go into slave mode.