Reputation
32,226
Next tag badge:
323/400 score
97/80 answers
Badges
3 55 105
Newest
 Nice Answer
Impact
~1.5m people reached

May
29
comment Running a ruby cron job
There error is a little odd, was there a / in front (/bin/sh:…)? Anyway, are you sure that is the right path to Ruby? ls -l /usr/local/bin/ruby shows it? What about command -v ruby?
May
29
awarded  Good Answer
May
28
comment Running a ruby cron job
@AhmetTanakol please edit your question to include the new crontab (with the full path to ruby) and the exact error message produced.
May
28
comment Running a ruby cron job
@AhmetTanakol Different $PATH. You can fix by using the full path to ruby or putting a PATH= line at the top of the crontab.
May
28
answered Running a ruby cron job
May
28
answered Partition table-less HDD
May
28
comment Redhat 5.11 Just showing 1.5TB Storage
It sounds like you got an actual capacity of 6TB ≈ 5.5TiB, and something is failing to handle >4TiB by passing only the lower 32 bits, leading to a size of ≈1.5TiB.
May
28
comment Redhat 5.11 Just showing 1.5TB Storage
That doesn't seem right. The MBR partition table limit is 2³² sectors, given 512 bytes (logical) sectors, that's 2TiB. You lose maybe 2MiB of usable space to partitioning—nowhere near 500GiB. There isn't a powers-of-ten vs. powers-of-two thing here, and even if there were that'd be 1.8TiB.
May
28
comment Get all files open for writing with pid, recursively
Might also want to look at "OUTPUT FOR OTHER PROGRAMS" in the lsof manpage.
May
24
comment Cannot mount second 1TB harddrive in Linux, works fine in Windows 8.1
@Pacerier Windows 8 apparently has something like Linux's LVM called "storage spaces". In Linux terms, that NTFS filesystem sits on a LV inside, and /dev/sda2 is one of the PVs that make up the VG. At least when I looked back in August '14, I couldn't find tools that understand Storage Spaces, allowing Linux to use the LVs inside.
May
22
answered Wheezy to Jessie update broke root software RAID, can it be fixed?
May
22
comment Wheezy to Jessie update broke root software RAID, can it be fixed?
@MaurolepisDreki OK, I'll convert my comments to an answer. Please report the image upload error as a bug (along with browser/OS/etc. details, steps to reproduce, etc.) on Unix & Linux Meta.
May
22
comment Change Partion Drive Space
Looks like you're using LVM. Could you please include the output of pvs and lvs?
May
22
answered Remount squashfs root filessytem read-write
May
20
comment Connectivity issues after updating to Debian Jessie
@techie_28 OK, if it was just from having "stable" instead of "wheezy" in the sources.list, you shouldn't have a weird mix of versions. The permission denied is because that's a text file—look at it with less or even cat, don't try to run it. apt-show-versions will tell you which release each package comes from. But I think you're fine on that front as long as you're not showing any upgradeable or obsolete packages. And followed stuff in the release notes about, e.g., cleaning up old config files.
May
20
comment Connectivity issues after updating to Debian Jessie
@techie_28 A live disc won't reinstall your machine as long as you don't run the installer. And you need to check more than /etc/debian_version—you might still have a mix of wheezy and jessie, or worse depending on what used to be in your sources.list.
May
20
comment Connectivity issues after updating to Debian Jessie
Is your network configured via /etc/network/interfaces, NetworkManager, or something else? Also, could you use apt-show-versions (or whatever) to confirm you're actually running Jessie versions of everything? Finally, if possible, I suggest trying a Debian Live disc, to see if its something weird about your unplanned upgrade vs. a bug in Jessie.
May
19
comment How to use same library more than once in Name Service Switch (NSS)
@StéphaneChazelas I think sssd is intended to work with one authoritative LDAP system, where all the LDAP servers it talks to have the same data. OP seems to want multiple servers with different data, and some lookups to go against server1 and other lookups against server2.
May
19
comment How to use same library more than once in Name Service Switch (NSS)
Wow, surprised that worked—don't they try to read from the same configuration file? Or did you change the config file name as well?
May
18
comment Move Root Folders to DRBD
I'll note also that package management becomes much more difficult if you share stuff between machines—the package manager state is in /var (probably not shared), and you have to figure out how to keep it in sync with what's really installed...