Re: [webmin-devel] webmin doesn't recognize custom module

Petrovici Bogdan <[email protected]> Wed, 12 Aug 2009 14:57:33 +0100
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
I tried the webmin package on a Fedora distribution and it works perfectly
with the same configuration. It must have been something with my cygwin
installation. Thank you for your patience and time

On Mon, Aug 10, 2009 at 5:42 PM, Jamie Cameron <[email protected]> wrote:

> Also, any time you change a module.info file manually, be sure to remove
> module.infos.cache (if it exists).
>
> On 10/Aug/2009 02:28 Petrovici Bogdan wrote ..
>
> I removed it but it still doesn't work.
>
> On Mon, Aug 10, 2009 at 1:11 AM, Jamie Cameron <[email protected]<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>
> > wrote:
>
>> You should remove that os_support=!windows line, as I presume you are
>> running on Windows. It tells Webmin that the module does not support
>> Windows.
>>
>>  - Jamie
>>
>> On 09/Aug/2009 05:35 Petrovici Bogdan wrote ..
>>
>> Hello, this is it:
>>
>> category=system
>> desc=New category
>> name=Catnou
>> op_support=!windows
>>
>> I'm not sure about the last line as I've seen it on the net somewhere in
>> an example.
>>
>> On Fri, Aug 7, 2009 at 5:58 PM, Jamie Cameron <[email protected]<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>
>> > wrote:
>>
>>> What does your module.info file contain exactly?
>>>
>>>  - Jamie
>>>
>>> On Aug 7, 2009, at 12:55 AM, Petrovici Bogdan <
>>> [email protected]<http://reply_mail.cgi?new=1&to=petrovici%2Ebogdan88%40gmail%2Ecom>>
>>> wrote:
>>>
>>> I managed to somehow get it in the menu but I can't get it to load on the
>>> right category. No matter what I write under category in
>>> <http://module.info>module.info it always defaults to others.
>>>
>>> On Thu, Aug 6, 2009 at 10:02 PM, Jamie Cameron <<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>
>>> [email protected]<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>
>>> > wrote:
>>>
>>>> I doubt if those ownership errors are related.
>>>>
>>>> Another thing to check is if you have access to the new module, as set
>>>> in the Webmin Users module.
>>>>
>>>>  - Jamie
>>>>
>>>> On Aug 6, 2009, at 12:21 AM, Petrovici Bogdan <<http://reply_mail.cgi?new=1&to=petrovici%2Ebogdan88%40gmail%2Ecom>
>>>> [email protected]<http://reply_mail.cgi?new=1&to=petrovici%2Ebogdan88%40gmail%2Ecom>>
>>>> wrote:
>>>>
>>>> I managed to find miniserv.conf in /etc/webmin but there is no
>>>> module.infos.cache. I also tried to find it by doing a search in the cygwin
>>>> directory before posting here but to no avail. Could this have any
>>>> connection with some errors I receive when installing the tar? Since I don't
>>>> have a root account or bin group in cygwin it complains about not being able
>>>> to change owner and group for the installed files.
>>>>
>>>> On Thu, Aug 6, 2009 at 7:43 AM, Jamie Cameron <<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom><http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>
>>>> [email protected]<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>
>>>> > wrote:
>>>>
>>>>> In that case, if you are on Windows it won't be under the /etc/webmin
>>>>> directory. Look for the file miniserv.conf on your system, and
>>>>> module.infos.cache  will be in the same directory.
>>>>>
>>>>> On 05/Aug/2009 23:35 Petrovici Bogdan wrote ..
>>>>>
>>>>> Well, I've installed webmin from the tar archive and I can't seem to
>>>>> find that file. I forgot to mention that it's installed on cygwin.
>>>>>
>>>>> On Wed, Aug 5, 2009 at 5:40 PM, Jamie Cameron <<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom><http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>
>>>>> [email protected]<http://reply_mail.cgi?new=1&to=jcameron%40webmin%2Ecom>
>>>>> > wrote:
>>>>>
>>>>>> This can happen if the cache file /etc/webmin/module.infos.cache is
>>>>>> out of date. Try deleting it, then reloading Webmin in your browser.
>>>>>>
>>>>>>  - Jamie
>>>>>>
>>>>>> On Aug 5, 2009, at 6:34 AM, Petrovici Bogdan <<http://reply_mail.cgi?new=1&to=petrovici%2Ebogdan88%40gmail%2Ecom><http://reply_mail.cgi?new=1&to=petrovici%2Ebogdan88%40gmail%2Ecom>
>>>>>> [email protected]<http://reply_mail.cgi?new=1&to=petrovici%2Ebogdan88%40gmail%2Ecom>>
>>>>>> wrote:
>>>>>>
>>>>>> Hello, I've tried creating my own module for webmin according to the
>>>>>> article on the Documentation page but webmin doesn't seem to want to list it
>>>>>> in the left menu. I tried replacing the contents of my custom module folder
>>>>>> with files from a working module and thus I get it listed twice but when I
>>>>>> try to modify the <http://module.info> <http://module.info><http://module.info>
>>>>>> module.info file even if it's just saving the file without modifying
>>>>>> it the entry disappears. Has anyone encountered this issue before ?
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>>>> 30-Day
>>>>>> trial. Simplify your report design, integration and deployment - and
>>>>>> focus on
>>>>>> what you do best, core application coding. Discover what's new with
>>>>>> Crystal Reports now.   <http://p.sf.net/sfu/bobj-july><http://p.sf.net/sfu/bobj-july><http://p.sf.net/sfu/bobj-july>
>>>>>> http://p.sf.net/sfu/bobj-july
>>>>>>
>>>>>> -
>>>>>> Forwarded by the Webmin development list at
>>>>>> <http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom><http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom><http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>>>>> [email protected]<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>>>>> To remove yourself from this list, go to
>>>>>> <http://lists.sourceforge.net/lists/listinfo/webadmin-devel><http://lists.sourceforge.net/lists/listinfo/webadmin-devel>
>>>>>> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>>>> 30-Day
>>>>>> trial. Simplify your report design, integration and deployment - and
>>>>>> focus on
>>>>>> what you do best, core application coding. Discover what's new with
>>>>>> Crystal Reports now.   <http://p.sf.net/sfu/bobj-july><http://p.sf.net/sfu/bobj-july>
>>>>>> http://p.sf.net/sfu/bobj-july
>>>>>> -
>>>>>> Forwarded by the Webmin development list at
>>>>>> <http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom><http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>>>>> [email protected]<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>>>>> To remove yourself from this list, go to
>>>>>>  <http://lists.sourceforge.net/lists/listinfo/webadmin-devel><http://lists.sourceforge.net/lists/listinfo/webadmin-devel>
>>>>>> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>>> 30-Day
>>>>> trial. Simplify your report design, integration and deployment - and
>>>>> focus on
>>>>> what you do best, core application coding. Discover what's new with
>>>>> Crystal Reports now.   <http://p.sf.net/sfu/bobj-july><http://p.sf.net/sfu/bobj-july>
>>>>> http://p.sf.net/sfu/bobj-july
>>>>> -
>>>>> Forwarded by the Webmin development list at
>>>>> <http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom><http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>>>> [email protected]<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>>>> To remove yourself from this list, go to
>>>>>  <http://lists.sourceforge.net/lists/listinfo/webadmin-devel><http://lists.sourceforge.net/lists/listinfo/webadmin-devel>
>>>>> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>>>>>
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment - and
>>>> focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now.   <http://p.sf.net/sfu/bobj-july><http://p.sf.net/sfu/bobj-july>
>>>> http://p.sf.net/sfu/bobj-july
>>>>
>>>> -
>>>> Forwarded by the Webmin development list at
>>>> <http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom><http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>>> [email protected]<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>>> To remove yourself from this list, go to
>>>> <http://lists.sourceforge.net/lists/listinfo/webadmin-devel>
>>>> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>>> 30-Day
>>>> trial. Simplify your report design, integration and deployment - and
>>>> focus on
>>>> what you do best, core application coding. Discover what's new with
>>>> Crystal Reports now.   <http://p.sf.net/sfu/bobj-july>
>>>> http://p.sf.net/sfu/bobj-july
>>>> -
>>>> Forwarded by the Webmin development list at
>>>> <http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>>> [email protected]<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>>> To remove yourself from this list, go to
>>>>  <http://lists.sourceforge.net/lists/listinfo/webadmin-devel>
>>>> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.   <http://p.sf.net/sfu/bobj-july>
>>> http://p.sf.net/sfu/bobj-july
>>>
>>> -
>>> Forwarded by the Webmin development list at
>>> <http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>> [email protected]<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>> To remove yourself from this list, go to
>>> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>>> 30-Day
>>> trial. Simplify your report design, integration and deployment - and
>>> focus on
>>> what you do best, core application coding. Discover what's new with
>>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>>> -
>>> Forwarded by the Webmin development list at [email protected]<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>>> To remove yourself from this list, go to
>>> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>>>
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
>> 30-Day
>> trial. Simplify your report design, integration and deployment - and focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> -
>> Forwarded by the Webmin development list at [email protected]<http://reply_mail.cgi?new=1&to=webmin%2Ddevel%40webmin%2Ecom>
>> To remove yourself from this list, go to
>> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>>
>>
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> -
> Forwarded by the Webmin development list at [email protected]
> To remove yourself from this list, go to
> http://lists.sourceforge.net/lists/listinfo/webadmin-devel
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel