unknown uid 0

Introduce yourself to us and other members here, or share your own product reviews, suggestions, and tips and tricks of using QNAP products.
spheremonk
Starting out
Posts: 10
Joined: Wed Jan 04, 2017 5:58 am
Model: TS-251A/451A

unknown uid 0

Postby spheremonk » Fri Feb 17, 2017 7:18 pm

Hi all.

Out of nowhere, running "crontab -l" gives me the following error:

Code: Select all

crontab: unknown uid 0


Cron is still running, and editable in /etc/config/crontab. I'm worried about this error; seems to imply something has changed for the admin user, but I've no idea what. Has anyone come across it?

Thanks

Will

User avatar
OneCD
Experience counts
Posts: 1590
Joined: Sun Aug 21, 2016 10:48 am
Model: TS-x69 Pro
Location: over there, behind that sofa...

Re: unknown uid 0

Postby OneCD » Sat Feb 18, 2017 2:32 am

Hi Will.

When asking a question, please include your NAS model, firmware version and build number.

spheremonk wrote:Out of nowhere, running "crontab -l" gives me the following error:

Code: Select all

crontab: unknown uid 0

Haven't seen this one myself. What does your id show?

Code: Select all

[/share] # id
uid=0(admin) gid=0(administrators) groups=0(administrators),100(everyone)
Stuff I like: Apache automation BASH blocklists BTFS BusyBox CLI CouchPotato CRON CSS DD-WRT DNS DNSMasq Entware-ng EXT2/3/4 FireFox GitHub HTML ImageMagick IP-networking KDE Kodi L2TP/IPsec LibreELEC Linux LXDE Linux Mint NAS Netrunner NFS OpenSUSE Orvibo S20 P2P phpMyAdmin Python Raspberry Pi RAID remote-access rsync SABnzbd+ screen scripts shell Shuttle SickBeard SQL SQLite SSD SSH Transmission Ubuntu UPS Usenet VirtualBox VPN web-servers WiFi WordPress XFCE XFS XML

spheremonk
Starting out
Posts: 10
Joined: Wed Jan 04, 2017 5:58 am
Model: TS-251A/451A

Re: unknown uid 0

Postby spheremonk » Sat Feb 18, 2017 4:42 am

Sorry for not giving more info.

TS-251+.
Firmware version 4.2.3 Build 20170213

id: uid=0 gid=0 groups=0,100

It's very odd. I wonder if my .profile is causing it (but it's been working fine for weeks like this, so...)

Code: Select all

export PS1='[\w] # '
reset
function starttv { cd /share/old/O*/D*/b*/flex && flexget seen forget "$1" && flexget series begin "$1" "$2"; }
export -f starttv
#unset HISTFILESIZE
#export HISTSIZE=-1
#export HISTIGNORE="history*:pwd:ls*"
#export HISTCONTROL="ignoreboth"
echo "Running .profile"
alias flex='cat /share/old/OnlineSync/Drop/backups/flex/flexget.log'
export PROMPT_COMMAND="history -a;$PROMPT_COMMAND"
shopt -s histappend
#export HISTIGNORE="history*:pwd:ls*"
#export HISTSIZE=-1
alias scripts='cd /share/old/OnlineSync/Drop/backups/scripts'
alias media='cd /share/OldNAS/'
alias bill='python /share/old/OnlineSync/Drop/backups/scripts/rasp/spider/f/billgiles.py GU7'
alias devon='python /share/old/OnlineSync/Drop/backups/scripts/rasp/spider/f/devonweather.py'
alias restartplex='$(getcfg -f /etc/config/qpkg.conf PlexMediaServer Install_path)/plex.sh restart &'
source /opt/etc/profile


Return to “Users' Corner”

Who is online

Users browsing this forum: chokai and 1 guest