running weewx from command line

230 views
Skip to first unread message

Steve Froggatt

unread,
Jan 3, 2014, 9:11:53 AM1/3/14
to weewx...@googlegroups.com
When i run weewx from the command line i get an error

-bash: /weewd: No such file or directory.

I no its probably very simple bit I am no unix/linux/pi guru

As far as i am aware i have installed into the standard directory structure

the command i am running is $BIN_ROOT/weewxd $CONFIG_ROOT/weewx.conf

mwall

unread,
Jan 3, 2014, 9:20:19 AM1/3/14
to weewx...@googlegroups.com

steve,

$BIN_ROOT and $CONFIG_ROOT are simply symbolic names used in the weewx documentation - they are not actual environment variables.

when you install using setup.py, the weewx executables go to /home/weewx/bin so the command would be

/home/weewx/bin/weewxd /home/weewx/weewx.conf

when you install using deb, the weewx executables go to /usr/share/weewx, so the command would be

/usr/share/weewx/weewxd /etc/weewx/weewx.conf

btw, when you install using deb or rpm pages, you don't need to use the full path.  you can simply type

weewxd /etc/weewx/weewx.conf

see the table in the 'installing weewx' section of the users guide.

m
Reply all
Reply to author
Forward
0 new messages