Koozali.org: home of the SME Server

Dialin on SME 6.0B3

Ernesto Lorenz

Dialin on SME 6.0B3
« on: November 09, 2003, 09:28:13 PM »
Hi everyone,
I'm trying e-smith-dialin-0.4.-4 with mgetty-1.1.28-3 (from RedHat 7.3) on an SME 6.0B3 test box and have found the following problem while saving  the dialin server parameters  with the server manager panel:

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log."

:
Nov  9 14:26:23 servidor /etc/e-smith/web/panels/manager/cgi-bin/multidialin[2304]: /home/e-smith/dungog: NEW dialin=service
Nov  9 14:26:23 servidor /etc/e-smith/web/panels/manager/cgi-bin/multidialin[2304]: /home/e-smith/dungog: OLD dialin=service
Nov  9 14:26:23 servidor /etc/e-smith/web/panels/manager/cgi-bin/multidialin[2304]: /home/e-smith/dungog: NEW dialin=service|status|on
Nov  9 14:26:23 servidor /etc/e-smith/web/panels/manager/cgi-bin/multidialin[2304]: /home/e-smith/dungog: OLD dinmodemS15=dinmodem|ip|192.168.1.99|port|S15
Nov  9 14:26:23 servidor /etc/e-smith/web/panels/manager/cgi-bin/multidialin[2304]: /home/e-smith/dungog: NEW dinmodemS15=dinmodem|ip|192.168.1.99|port|S15|status|enabled
Nov  9 14:26:23 servidor e-smith[2306]: Processing event: multidialin-save
Nov  9 14:26:23 servidor e-smith[2306]: Running event handler: /etc/e-smith/events/multidialin-save/S80conf-multidialin
Nov  9 14:26:24 servidor e-smith[2306]: ERROR:  Can't chown file //etc/mgetty+sendfax/login.config.2307: Operation not permitted
Nov  9 14:26:24 servidor e-smith[2306]:  at /etc/e-smith/events/multidialin-save/S80conf-multidialin line 36
Nov  9 14:26:24 servidor e-smith[2306]: S80conf-multidialin=action|Event|multidialin-save|Action|S80conf-multidialin|Start|1068402383 963516|End|1068402384 326189|Elapsed|0.362673|Status|65280

Any ideas on the cause of this error?
Please let me know if this is an issue for the devlist so I can move the post over there. I will make the neccesary corrections to the code to get this to work and might even have time to localize the text messages with some guidance from the experts.

Regards to all,

Ernesto Lorenz

Anthony

Re: Dialin on SME 6.0B3
« Reply #1 on: November 13, 2003, 07:24:28 AM »
I have 6b3 working with dial in.
I use it 4-5 hours a day.

[root@voyager root]# rpm -qa | grep SMES
SMEServer-6.0-04
[root@voyager root]# rpm -qa | grep mgetty
mgetty-1.1.28-3
[root@voyager root]# rpm -qa | grep dialin
e-smith-dialin-0.4-4
[root@voyager root]# ps -ef | grep mgetty
root     16635     1  0 Nov13 ?        00:00:00 /sbin/mgetty ttyS0 -D ttyS0

Now in your messages file it says:
Can't chown file //etc/mgetty+sendfax/login.config.2307
When I check I see:

[root@voyager root]# ls -l /etc/mgetty+sendfax/
total 12
-rw-r--r--    1 root     root          677 Nov  9 09:38 dialin.config
-rw-------    1 root     root           73 Nov  9 09:38 login.config
-rw-r--r--    1 root     root          214 Nov 11 22:41 mgetty.config

Where did the .2307 come from?
Myabe create symbolic link?

Ernesto Lorenz

Re: Dialin on SME 6.0B3
« Reply #2 on: November 27, 2003, 04:47:24 PM »
Hi Anthony,
The problem seem to come from me messing with the code to enable the input of ttyS15 in the serial port form since I have a PCTEL modem on the PCCHIPS MB. The modem driver is working fine but something breaks when I change the following line of code in:
/etc/e-smith/web/functions/multidialin

@ line 380:     if ($port =~ /^([A-Z][0-9])$/)
 
to enable the input of a string like "S15"

I'll work on this later on, but for now I've decided to manually change the dungog DB to accomodate for my serial port.
Regards,
Ernesto