Logging stopped?

Use this forum if you have installed hMailServer and want to ask a question related to a production release of hMailServer. Before posting, please read the troubleshooting guide. A large part of all reported issues are already described in detail here.
Post Reply
DjGL
New user
New user
Posts: 26
Joined: 2006-12-15 14:55

Logging stopped?

Post by DjGL » 2006-12-15 15:13

Hi everybody,

Yesterday I had some hardware troubles with my server so I had to change to another machine and transferred all data there.

On the new machine I installed the same version (4.2.2) of hmailserver and it seems to work as before. The database is also the same and working. But today I recognized that since yesterday there are no logfiles of hmailserver anymore but logging is enabled!

I can't see where the problem is.
Did anyone else had such problems?

Well .. I will upgrade to 4.3 today evening and hope that it's working again.

Best regards
Günther Leitgeb

^DooM^
Site Admin
Posts: 13861
Joined: 2005-07-29 16:18
Location: UK

Post by ^DooM^ » 2006-12-15 16:47

Did you install it in the exact same location as the previous install? If not then it could be writing the log files elsewhere or not have permissions to do so.

DjGL
New user
New user
Posts: 26
Joined: 2006-12-15 14:55

Post by DjGL » 2006-12-15 16:57

Same place, same drive .. I checked the entries of hMailServer.INI as well and everything seems to be ok

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2006-12-15 17:48

Are you 100% certain about that? And are you certain that logging really is enabled? This is one of these issues where I'm pretty sure you'll respond with a "oh, silly mistake" sooner or later ;-)

DjGL
New user
New user
Posts: 26
Joined: 2006-12-15 14:55

Post by DjGL » 2006-12-15 18:00

No one can be 100% sure but I did several tests and disabled and enabled logging again and all that but nothing changed.

I also changed "LogFolder=" in the ini File to a directory which exists for sure but nothing happened again.

BTW: Why does hMailserver start if something is wrong (like that here)?

And well .. I made enough silly mistakes in my life so I know that I should not write into a forum before testing all possibilitys .. but I have done that and still cannot find the reason why it's not working.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2006-12-15 18:04

BTW: Why does hMailserver start if something is wrong (like that here)?
If hMailServer wouldn't start just because the logging directory was not available, users would complain. Also, the logging directory can exist during start up, but then disappear, so just checking during startup wouldn't be enough anyway.

Have you restarted the service after you edited those settings?
Is it possible for me to log on remotely to check?

DjGL
New user
New user
Posts: 26
Joined: 2006-12-15 14:55

Post by DjGL » 2006-12-15 18:21

martin wrote:..., so just checking during startup wouldn't be enough anyway.
Well that's true .. but more than nothing .. other possibility would be if you create at least an eventlog entry for that .. so it would be possible for me to see what went wrong.
martin wrote:Have you restarted the service after you edited those settings?
Sure I have ..
martin wrote:Is it possible for me to log on remotely to check?
You mean via hMailserver Administrator?
Well .. I didn't try how to enable that but if you tell me how to it should be possible.

Other things like VNC are not possible because it's my second production server with my primary DNS as well.

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2006-12-15 18:39

Okay, hMailServer Administrator isn't accessible over the Internet so that wouldn't work.

Could you post the [Directories] section of your hMailSever.ini then? Where is the hMailServer.ini located on your hard disk? Have you searched the disk to ensure that there's no hMailServer.ini somewhere else?

DjGL
New user
New user
Posts: 26
Joined: 2006-12-15 14:55

Post by DjGL » 2006-12-15 19:15

Oh my god .. I found out what happened ..

My first installation was at G:\Mail-Server\ and that was where I put it the files on the new server .. and then I installed the hMailserver and choose that folder .. but I didn't realize that he actually put it at G:\Mail-Server\hMailserver\ ..
Well I know it would have been better to install first and then copy the data to the new installation .. but I made a backup at least ..

Sorry for my stupidity .. and martin thanks and u were completely right :-/

DjGL
New user
New user
Posts: 26
Joined: 2006-12-15 14:55

Post by DjGL » 2006-12-15 19:17

Is hMailServer Administrator accessible over local network and if yes how can I enable?

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2006-12-15 20:51

Glad to hear you solved it. As I said, it's common that users makes mistakes, are sure that they did everything right and then sees them self that it was a simple error ;)

Anyway, hMailServer is accessible remotely by default. If you install hMailServer client tools (which is a part of the normal installation) on another machine, start hMailServer, you will be able to connect to the hMailServer service running on the other machine, assuming you have permissions to do so.

DjGL
New user
New user
Posts: 26
Joined: 2006-12-15 14:55

Post by DjGL » 2006-12-15 20:56

Where do I set this permission?

User avatar
martin
Developer
Developer
Posts: 6834
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

Post by martin » 2006-12-15 20:58

I was assuming that you run hMailServer 4.3. You should upgrade to 4.3 before doing this. During the installation of 4.3, you specify a hMailServer administration password. This password can then be used to log on remotely.

DjGL
New user
New user
Posts: 26
Joined: 2006-12-15 14:55

Post by DjGL » 2006-12-15 21:02

Ah many thanks .. ur great ;-)

Post Reply