| View previous topic :: View next topic |
| Author |
Message |
Mrkrabz Voice
Joined: 09 Jul 2013 Posts: 7 Location: United Kingdom
|
Posted: Tue Jul 09, 2013 4:48 pm Post subject: Config error/not found? |
|
|
When running I currently get
[Rat@Game1 eggdrop]$ ./eggdrop
Eggdrop v1.6.21 (C) 1997 Robey Pointer (C) 2011 Eggheads
[16:43:49] --- Loading eggdrop v1.6.21 (Tue Jul 9 2013)
[16:43:49] Tcl error in file 'eggdrop.conf':
[16:43:49]
[16:43:49] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
[Rat@Game1 eggdrop]$
My config file is named eggdrop.conf and the user has full access to it.
I'm getting this with my edited config file and also the default one supplied by eggdrop.
I really don't have anymore info on this as there doesn't seem to be any useful errors at all.
Thanks. |
|
| Back to top |
|
 |
Hero Halfop
Joined: 26 Jun 2012 Posts: 49 Location: root@localhost
|
Posted: Tue Jul 09, 2013 4:55 pm Post subject: |
|
|
try
| Code: | ./eggdrop -m eggdrop.conf
or
./eggdrop -n eggdrop.conf |
_________________ The Road To Hell Is Full Of Good Intentions |
|
| Back to top |
|
 |
Mrkrabz Voice
Joined: 09 Jul 2013 Posts: 7 Location: United Kingdom
|
Posted: Tue Jul 09, 2013 5:10 pm Post subject: |
|
|
| Code: | [Rat@Game1 eggdrop]$ ./eggdrop -m eggdrop.conf
Eggdrop v1.6.21 (C) 1997 Robey Pointer (C) 2011 Eggheads
[17:09:57] --- Loading eggdrop v1.6.21 (Tue Jul 9 2013)
[17:09:57] Tcl error in file 'eggdrop.conf':
[17:09:57]
[17:09:57] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
[Rat@Game1 eggdrop]$ ./eggdrop -n eggdrop.conf
Eggdrop v1.6.21 (C) 1997 Robey Pointer (C) 2011 Eggheads
[17:10:01] Allocated bind table unld (flags 1)
[17:10:01] Allocated bind table time (flags 1)
[17:10:01] Allocated bind table cron (flags 1)
[17:10:01] Allocated bind table note (flags 0)
[17:10:01] Allocated bind table nkch (flags 1)
[17:10:01] Allocated bind table load (flags 1)
[17:10:01] Allocated bind table link (flags 1)
[17:10:01] Allocated bind table filt (flags 1)
[17:10:01] Allocated bind table disc (flags 1)
[17:10:01] Allocated bind table dcc (flags 0)
[17:10:01] Allocated bind table chpt (flags 1)
[17:10:01] Allocated bind table chon (flags 1)
[17:10:01] Allocated bind table chof (flags 1)
[17:10:01] Allocated bind table chjn (flags 1)
[17:10:01] Allocated bind table chat (flags 1)
[17:10:01] Allocated bind table bot (flags 0)
[17:10:01] Allocated bind table bcst (flags 1)
[17:10:01] Allocated bind table away (flags 1)
[17:10:01] Allocated bind table act (flags 1)
[17:10:01] Allocated bind table evnt (flags 1)
[17:10:01] Allocated bind table log (flags 1)
[17:10:01] --- Loading eggdrop v1.6.21 (Tue Jul 9 2013)
[17:10:01] Tcl error in file 'eggdrop.conf':
[17:10:01] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
[Rat@Game1 eggdrop]$
|
|
|
| Back to top |
|
 |
Hero Halfop
Joined: 26 Jun 2012 Posts: 49 Location: root@localhost
|
Posted: Tue Jul 09, 2013 6:32 pm Post subject: |
|
|
Check Your Config File Again! Or Post Your Conf File Here! _________________ The Road To Hell Is Full Of Good Intentions |
|
| Back to top |
|
 |
Mrkrabz Voice
Joined: 09 Jul 2013 Posts: 7 Location: United Kingdom
|
Posted: Wed Jul 10, 2013 9:17 am Post subject: |
|
|
| Hero wrote: | | Check Your Config File Again! Or Post Your Conf File Here! |
As mentioned, it does this with the default configuration, it doesn't go down to the error which says you need to edit the config. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Jul 10, 2013 1:22 pm Post subject: |
|
|
I've seen similar issues reported in the past.
Either the config-file was not readable to the eggdrop process, or the eggdrop binary was badly compiled/linked (pre-built package, as I recall).
A first step, check who's the owner of the file, and which permissions are set:
ls -la eggdrop.conf _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Mrkrabz Voice
Joined: 09 Jul 2013 Posts: 7 Location: United Kingdom
|
Posted: Wed Jul 10, 2013 3:13 pm Post subject: |
|
|
| nml375 wrote: | I've seen similar issues reported in the past.
Either the config-file was not readable to the eggdrop process, or the eggdrop binary was badly compiled/linked (pre-built package, as I recall).
A first step, check who's the owner of the file, and which permissions are set:
ls -la eggdrop.conf |
-rwxr-xr-x 1 root root 54409 Jul 9 16:39 eggdrop.conf
I gather that's enough permissions as I can already read and write to that file.
I also compiled eggdrop myself, which didn't seem to have any errors. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Jul 10, 2013 3:18 pm Post subject: |
|
|
It's really not such a good idea running eggdrop's as the super user...
That said, the file is readable by any user on the system. Is this a pre-built eggdrop (package install)? _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Mrkrabz Voice
Joined: 09 Jul 2013 Posts: 7 Location: United Kingdom
|
Posted: Wed Jul 10, 2013 3:24 pm Post subject: |
|
|
| nml375 wrote: | It's really not such a good idea running eggdrop's as the super user...
That said, the file is readable by any user on the system. Is this a pre-built eggdrop (package install)? |
I'm running it from a user called "Rat". It hasn't got root permissions and now has access to all files
chown -R Rat eggdrop
yet I still get
[15:22:56] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)
This was a compiled source from the latest version. |
|
| Back to top |
|
 |
Mrkrabz Voice
Joined: 09 Jul 2013 Posts: 7 Location: United Kingdom
|
Posted: Wed Jul 10, 2013 3:54 pm Post subject: |
|
|
Managed to sort of get it working on another server.
| Code: | root@Web1 [~]# ls -la /root/Eggdrops/modules/
total 1284
drwxrwxrwx 2 Rat3 root 4096 Jul 10 15:30 ./
drwxr-xr-x 10 Rat3 root 4096 Jul 10 15:36 ../
-rwxr-xr-x 1 Rat3 root 24235 Jul 10 15:30 assoc.so*
-rwxrwxrwx 1 Rat3 root 25762 Jul 10 15:30 blowfish.so*
-rwxr-xr-x 1 Rat3 root 228815 Jul 10 15:30 channels.so*
-rwxr-xr-x 1 Rat3 root 25271 Jul 10 15:30 compress.so*
-rwxr-xr-x 1 Rat3 root 22249 Jul 10 15:30 console.so*
-rwxr-xr-x 1 Rat3 root 18824 Jul 10 15:30 ctcp.so*
-rwxr-xr-x 1 Rat3 root 42823 Jul 10 15:30 dns.so*
-rwxr-xr-x 1 Rat3 root 186081 Jul 10 15:30 filesys.so*
-rwxr-xr-x 1 Rat3 root 271449 Jul 10 15:30 irc.so*
-rwxr-xr-x 1 Rat3 root 60609 Jul 10 15:30 notes.so*
-rwxr-xr-x 1 Rat3 root 29772 Jul 10 15:30 seen.so*
-rwxr-xr-x 1 Rat3 root 125493 Jul 10 15:30 server.so*
-rwxr-xr-x 1 Rat3 root 92209 Jul 10 15:30 share.so*
-rwxr-xr-x 1 Rat3 root 70813 Jul 10 15:30 transfer.so*
-rwxr-xr-x 1 Rat3 root 20283 Jul 10 15:30 uptime.so*
-rwxr-xr-x 1 Rat3 root 29297 Jul 10 15:30 wire.so*
root@Web1 [~]#
|
| Code: | Rat3@Web1 [/root/Eggdrops]# cd /root/Eggdrops/modules/
bash: cd: /root/Eggdrops/modules/: Permission denied
Rat3@Web1 [/root/Eggdrops]# |
Not sure what's going on there. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Jul 10, 2013 5:36 pm Post subject: |
|
|
If you are starting your eggdrop as a local user, why are you placing all the files in the home directory of the super user?
As for what is going on there; /root is owned by root, and is generally, AND SHOULD BE, locked down to any other users. Having the directory Read,Write,eXecute to the "others" group (any user on the system) is just asking for getting your system taken over! Further, it should not be owned by any local user, but by root.
Best way of getting your eggdrop working? Start all over, and don't use the root account at all! Download the source, compile your eggdrop, run "make install", configure your eggdrop, and finally start it. And make sure you do this as the Rat3 user, NOT root. _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Wed Jul 10, 2013 5:39 pm Post subject: |
|
|
Oh, and just to make sure I'm clear about this...
That means, download, build, install, etc your eggdrop in Rat3's home directory, not /root _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Mrkrabz Voice
Joined: 09 Jul 2013 Posts: 7 Location: United Kingdom
|
Posted: Thu Jul 11, 2013 7:44 am Post subject: |
|
|
Ah crap, not entirely sure how I didn't notice that. When I did make install, I forgot to supply the install dir into the Home dir.
Thanks.
Edit: One other thing, is there something in the conifg file that changes how fast the bot will re-connect after the IRC server has lost connection? I'm wanting my bot to be the first to join. |
|
| Back to top |
|
 |
chal3oye Guest
|
Posted: Fri Dec 20, 2013 2:21 am Post subject: |
|
|
| It does this with the default configuration, it doesn't go down to the error which says you need to edit the config. |
|
| Back to top |
|
 |
|