LoganY87
Active Member
Using Ubuntu Server 14.04 LTS
I've been trying to get this right for quite some time but it either doesn't work or I get worried I'm going to break something and make my system completely unusable.
I'm working from this:
http://forum.lowendspirit.com/viewtopic.php?id=1305
got to the point where I have to log in with the znc user but it asked for a password I didn't have so I did
Unfortunately now I can't run the znc --makeconf to completion because the stupid thing is "unable to open file" regardless of where I put it.
So now I'm trying to add znc user to sudoers so that I can try running the --makeconf command with sudo because I figure then it will have permission to open the file.
Assuming this doesn't work, can anyone help me figure out why it can't open the file?
UPDATE:
Can't run znc with sudo and this happened when I tried to config again...
When I just try to run znc, this happens:
I nano the file and its empty/doesn't exist but I clearly can't make it so I don't know what to do now...
I've been trying to get this right for quite some time but it either doesn't work or I get worried I'm going to break something and make my system completely unusable.
I'm working from this:
http://forum.lowendspirit.com/viewtopic.php?id=1305
got to the point where I have to log in with the znc user but it asked for a password I didn't have so I did
Code:
sudo -x znc -i
Unfortunately now I can't run the znc --makeconf to completion because the stupid thing is "unable to open file" regardless of where I put it.
So now I'm trying to add znc user to sudoers so that I can try running the --makeconf command with sudo because I figure then it will have permission to open the file.
Assuming this doesn't work, can anyone help me figure out why it can't open the file?
UPDATE:
Can't run znc with sudo and this happened when I tried to config again...
Code:
[ !! ] Writing config [/var/lib/znc/configs/znc.conf]... [ Unable to open file ]
[ ?? ] Please specify an alternate location (or "stdout" for displaying the config) [/var/lib/znc/configs/znc.conf]:
When I just try to run znc, this happens:
Code:
[ ok ] Checking for list of available modules...
[ !! ] Opening config [/var/lib/znc/.znc/configs/znc.conf]... [ No such file ]
[ ** ] Restart ZNC with the --makeconf option if you wish to create this config.
[ ** ] Unrecoverable config error.
I nano the file and its empty/doesn't exist but I clearly can't make it so I don't know what to do now...
Last edited: