Start Nexus error report: Detected execution as "root" user.

[root@ztosin-maven bin]-sharp nexus start
WARNING: ************************************************************
WARNING: Detected execution as "root" user.  This is NOT recommended!
WARNING: ************************************************************
Starting nexus

it"s no use if I set up the nexus.rc file:
run_as_user=root

Apr.21,2022

solved it by yourself,

useradd nexus
chown -R nexus:nexus /usr/local/nexus

then su nexus executes: nexus start is successful

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5f83d-45823.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5f83d-45823.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?