Reputation
4,042
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
2 11 20
Impact
~198k people reached

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.
Jul
9
comment memory usage setting
Your top output is sorted by CPU usage which is useless as it doesn't show what processes are using the memory.
Jul
9
revised Perl script error: byteloader version mismatch
added 1 characters in body
Jul
9
answered Perl script error: byteloader version mismatch
Jul
8
answered SSSD Authentication
Jul
8
answered Would a PHP application benefit from being served from a RAM drive?
Jul
8
comment My server is running out of memory, despite having all swap free
What is free -m supposed to show that the already provided top info doesn't? Its the same data. Used, free, buffers, cache, its all there.
Jul
8
comment My server is running out of memory, despite having all swap free
Can you provide the output of cat /proc/buddyinfo as close to when the error occurs as is possible?
Jul
4
comment umask is being ignored on Gentoo while creating new files
This doesnt explain how when youre in the shell as root with a umask of 022, files are created as if umask were 033...
Jul
3
comment umask is being ignored on Gentoo while creating new files
Are there any filesystem ACLs in place on the directory where youre creating the subdirectories? (getfacl to check)
Jul
2
comment Cannot create file in directory even though it's writable by a group I belong to
Do you have any ACLs on either directory (getfacl to check)? Does either directory have any extended attributes (lsattr to check)? Oh, just noticed this question is almost a year old...
Jul
1
comment websockets , loadbalancers and 64k ports
@vivekv that link only applies to proxies. Use a load balancer, not a proxy (there is a major difference).
Jul
1
comment I am unable to connect to my netbook from any machine on my network until the netbook has pinged it
Grasping at straws here, but is it possible the interface is going into a sleep mode until you send outgoing traffic? Thus while its in sleep mode it doesnt receive incoming packets. A simple way to confirm would be to ping something other than the PC from the netbook (like your router), and then see if the PC can ping the netbook.
Jul
1
comment websockets , loadbalancers and 64k ports
@vivekv where are you getting this 64K max thing from? The only limit you have is for outgoing connections (due to available source ports). You can have 100k incoming connections on a single destination port, linux doesnt care one bit.
Jul
1
comment Anyone else experiencing high rates of Linux server crashes during a leap second day?
I've heard similar reports of fixing this issue as well (such as using date -s). It sounds like the fix just requires setting the system time instead of slewing it (the default ntpd behavior when offset is small). I'm guessing setting the time causes the kernel's internal time-keeping mechanics to reset themselves.
Jun
27
revised How do I keep mdadm from renaming my RAID array upon reboot?
Specify when to pass the option, and also pretty up a bit.
Jun
26
awarded  Populist
Jun
18
comment How to force a host to not send a broadcast for an IP address in its own subnet?
I would not even mention option 1. RFC-792: If G2 and the host identified by the internet source address of the datagram are on the same network, a redirect message is sent to the host. The redirect message advises the host to send its traffic for network X directly to gateway G2 as this is a shorter path to the destination.