Go to advanced search

by CorvusB
Tue Apr 30, 2019 4:18 pm
Forum: Beginners
Topic: Deleting 'pi' user
Replies: 8
Views: 3983

Re: Deleting 'pi' user

Before you delete your pi user you can use for i in `groups`; do sudo usermod -a -G $i joe; done to add user joe to the groups user pi is defined in. Hmmmm, Dougie, there is a problem with that loop. I haven't figured out what yet, but seems to be something off with "groups". I've figured out part ...
by CorvusB
Thu Apr 18, 2019 3:09 pm
Forum: Troubleshooting
Topic: Mystery - dead SD cards - wtf, whodunnit?
Replies: 6
Views: 274

Re: Mystery - dead SD cards - wtf, whodunnit?

Cool! I will definitely give the bootcode.bin method a try! That will reduce the load on the card to practically nothing.
by CorvusB
Thu Apr 18, 2019 1:38 pm
Forum: Troubleshooting
Topic: Mystery - dead SD cards - wtf, whodunnit?
Replies: 6
Views: 274

Re: Mystery - dead SD cards - wtf, whodunnit?

Hmmm. Ok - so could be the SD cards are end-of-life. Two are completely bricked - not even recognized as a drive. One has a bad bit somewhere that is preventing it from being formatted or re-used to install a Raspbian image. I can read and write to it as-is, but when I attempted to install a Raspbia...
by CorvusB
Thu Apr 18, 2019 3:09 am
Forum: Troubleshooting
Topic: Mystery - dead SD cards - wtf, whodunnit?
Replies: 6
Views: 274

Mystery - dead SD cards - wtf, whodunnit?

I now have 3 completely bricked SD cards. I can't even see them as devices in linux. Nothing there. So, to the best of my knowledge, here is what happened. The R-pi has been running nicely for 3-5 years, I forget. It has been, all that time, a print server, a file server, and a bittorrent server (tr...
by CorvusB
Tue Mar 12, 2019 12:08 am
Forum: Raspbian
Topic: Raspbian jessie image will not boot - could not expand filesystem
Replies: 24
Views: 10035

Re: Raspbian jessie image will not boot - could not expand filesystem

Just had this issue. Posting because I found a fix (for me). This R-pi is a simple file server, print server, and bittorrent server. Base issue: R-Pi won't boot into Raspbian as described by others - boot and root on different devices all that yada yada. Likely cause: extended power outages this win...
by CorvusB
Sun Mar 11, 2018 11:54 pm
Forum: Troubleshooting
Topic: colord fail filling message log, what is it?
Replies: 2
Views: 623

Re: colord fail filling message log, what is it?

Dougie; CUPS seems like a strange thing to get around to colord! But so far as I know, yes, CUPS is installed and working properly. I can access the printer on that server from all the devices on the LAN. OTOH, samba is giving me issues. I had everything working a-ok, but then I upgraded one device ...
by CorvusB
Thu Mar 08, 2018 12:13 am
Forum: Troubleshooting
Topic: colord fail filling message log, what is it?
Replies: 2
Views: 623

colord fail filling message log, what is it?

I have this message in the syslog, and it keeps repeating and filling the log! Mar 7 22:12:41 raspberrypi colord[370]: failed to get session [pid 338]: No such device or address I'm not even sure what to look for. The only thing I can find after a reboot, that might be related: Mar 7 22:05:24 raspbe...
by CorvusB
Thu Sep 25, 2014 8:59 pm
Forum: Beginners
Topic: shutdown command - adding what gets done...
Replies: 17
Views: 2479

Re: shutdown command - adding what gets done...

. . . There's three ways to do this: 1. rename the shutdown and reboot commands in /sbin. Write a wrapper that does your stuff then calls the renamed commands . . . . Given that I rarely code, if I wanted to accomplish this, Dougie's #1 would be my choice. Write your own shutdown script. Name it wh...
by CorvusB
Thu Sep 25, 2014 8:42 pm
Forum: Troubleshooting
Topic: r-pi samba directory won't allow write, permission a-ok
Replies: 15
Views: 2174

Re: r-pi samba directory won't allow write, permission a-ok

A-ok - all names have been changed to protect the innocent! Just didn't change them all the same. My bad, good catch.
by CorvusB
Thu Sep 25, 2014 3:02 am
Forum: Troubleshooting
Topic: Samba - strange behavior - mounts but nothing there
Replies: 2
Views: 543

Re: Samba - strange behavior - mounts but nothing there

Ok. See
http://www.raspberrypi.org/forums/viewt ... 61#p617961

I think this is directly related. ATM!? it appears to be a hardware problem. More may be forthcoming. But, for now - hardware seems to be creating filesystem faults.
by CorvusB
Thu Sep 25, 2014 2:56 am
Forum: Troubleshooting
Topic: Web Browser closed for some reason
Replies: 9
Views: 1695

Re: Web Browser closed for some reason

A lot of other suggestions here - all power to them. My one thought - on a user-input-capable-system that has been running for a week? I'd try a reboot first.
by CorvusB
Thu Sep 25, 2014 2:48 am
Forum: Beginners
Topic: Best OS?
Replies: 6
Views: 918

Re: Best OS?

My thought is to consider ARM support. Fer instance, a fav distro of mine is openSuse, but ARM support there is beta-level. Debian/Raspbian seems to me to be the most developed/considered/worked-on distro for ARM. I have not tried the Red Hat /Fedora version - but I am otherwise recently impressed w...
by CorvusB
Thu Sep 25, 2014 12:15 am
Forum: Troubleshooting
Topic: r-pi samba directory won't allow write, permission a-ok
Replies: 15
Views: 2174

Re: r-pi samba directory won't allow write, permission a-ok

The drive bay (toaster) has external power. I figured when I started this little project that the pi USB amperage was insufficient. I've got a powered USB hub for keyboard and mouse when I run them. I've powered down the pi and attached the SSD drives to another server. I'll have to figure out how t...
by CorvusB
Wed Sep 24, 2014 9:57 pm
Forum: Troubleshooting
Topic: r-pi samba directory won't allow write, permission a-ok
Replies: 15
Views: 2174

Re: r-pi samba directory won't allow write, permission a-ok

Your samba config idea sounds good. Appreciated. Back to the issue - during the rebooting - I got the "disappearing directory" again. I've posted that in a different topic - but atm - I am thinking they may be related. I had to reboot twice to get the directory to "appear". After the 1st, with the s...
by CorvusB
Wed Sep 24, 2014 8:22 pm
Forum: Troubleshooting
Topic: r-pi samba directory won't allow write, permission a-ok
Replies: 15
Views: 2174

Re: r-pi samba directory won't allow write, permission a-ok

The "force user" clause is abnormal. My shared folder is defined with a minimal set of parms [shared] path = /shared read only = Yes create mask = 0644 only difference is mine isn't writeable by everyone. In fstab you can control when fsck's happen with the "0 2" (fs freq & fs passno) on the ends o...
by CorvusB
Wed Sep 24, 2014 7:54 pm
Forum: Troubleshooting
Topic: r-pi samba directory won't allow write, permission a-ok
Replies: 15
Views: 2174

Re: r-pi samba directory won't allow write, permission a-ok

Most filesystem errors are caused by yanking the power while a write operation is running. And that could be so - if the system has not run fsck itself - which I would have expected. But it, of course, might not have. I HAVE had some power outages - but not in the past month. The r-pi is on an UPS,...
by CorvusB
Wed Sep 24, 2014 7:47 pm
Forum: Troubleshooting
Topic: r-pi samba directory won't allow write, permission a-ok
Replies: 15
Views: 2174

Re: r-pi samba directory won't allow write, permission a-ok

How is that defined in /etc/fstab? And how is it defined in /etc/smb.conf (or whatever your samba conference file is called)? fstab proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1 # a swapfile is not a swap partition, so no using swapon...
by CorvusB
Wed Sep 24, 2014 7:40 pm
Forum: Troubleshooting
Topic: r-pi samba directory won't allow write, permission a-ok
Replies: 15
Views: 2174

Re: r-pi samba directory won't allow write, permission a-ok

Ahhh, piffle. Thanks for replying - it looks like the fsck fixed it. I don't think I've ever had a file structure error in Linux before. I used to run (and still do when I work on them) chkdsk on Win machines on a regular basis. It didn't even occur to me to check until after I put in the post. I ha...
by CorvusB
Wed Sep 24, 2014 7:31 pm
Forum: Troubleshooting
Topic: r-pi samba directory won't allow write, permission a-ok
Replies: 15
Views: 2174

Re: r-pi samba directory won't allow write, permission a-ok

On an external drive - SSD, ext4 fs. I've sent a shutdown with a forced fsck check on reboot, that is running now. Taking a long time, too.
by CorvusB
Wed Sep 24, 2014 7:01 pm
Forum: Beginners
Topic: Raspbian - systemd or sysvinit?
Replies: 7
Views: 6912

Re: Raspbian - systemd or sysvinit?

I'd rather have systemd so I am consistent across devices. There is a very simple tute here: https://denibertovic.com/posts/setting-up-systemd-on-debian-in-10-minutes/, but it is for Debian. Raspbian doesn't use grub - so how would I run a system check to make sure I haven't borked the whole thing ...
by CorvusB
Wed Sep 24, 2014 6:58 pm
Forum: Troubleshooting
Topic: r-pi samba directory won't allow write, permission a-ok
Replies: 15
Views: 2174

r-pi samba directory won't allow write, permission a-ok

Another odd problem with Samba on my R-Pi Raspbian wheezy. One directory, and subdirectories under it, in the shared space will not allow writing. Permissions are ok, ownership is ok. I redid them with chmod and chown jic - changed them then changed them back, as they were set correctly. It is only ...
by CorvusB
Wed Sep 24, 2014 6:50 pm
Forum: Troubleshooting
Topic: Samba - strange behavior - mounts but nothing there
Replies: 2
Views: 543

Re: Samba - strange behavior - mounts but nothing there

I see either I've not worded the question well - or others are as puzzled as I am. Today I've got a new problem - might or might not be related. Today I can not read or write to one of the subdirectories in the samba shared area. I'm posting a new topic for this one - I think it may be a different i...
by CorvusB
Wed Sep 24, 2014 6:46 pm
Forum: Beginners
Topic: Raspbian - systemd or sysvinit?
Replies: 7
Views: 6912

Re: Raspbian - systemd or sysvinit?

Jessie has systemd installed and the migration has begun YANTTL. Yet another new thing to learn. YANTTL? Oo, oo! Got it, yeah, another new thing. From what little playing with systemd I've done, it seems to me to be the simplest of the 3. Migration of apps to use it seems to be more complete than u...
by CorvusB
Sun Sep 21, 2014 9:28 pm
Forum: Beginners
Topic: Raspbian - systemd or sysvinit?
Replies: 7
Views: 6912

Raspbian - systemd or sysvinit?

I haven't figured out HOW Raspbian starts and stops samba. Meaning, apparently Raspbian is using systemd - but systemctl does not seem to work. As far as starting and stopping services, I am far more familiar with Ubuntu and upstart - but I've got an opensuse server with systemd. I prefer systemd, a...
by CorvusB
Sun Sep 21, 2014 8:48 pm
Forum: Troubleshooting
Topic: Samba - strange behavior - mounts but nothing there
Replies: 2
Views: 543

Samba - strange behavior - mounts but nothing there

Periodically my Raspbian RPi will allow me to mount the Samba share - but it shows me no files. I have even had this happen immediately after a reboot. However, it is usually "cured" by a reboot. This is very odd, at least to me. I'm pretty sure I have access to the shared area - or SOMETHING - on t...

Go to advanced search