Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - kokodin

Pages: [1]
1
Installation and Upgrades / zentyal 6.2 stuck at configuring http proxy
« on: December 21, 2020, 11:42:06 am »
hello
 i had a problem with my old server box so i decided to install newer version of  zential on it
the ofending module on old system was squid , system was unable to determine if the service is runing or not

so i installed zentyal community 6,2 twice
for some reason every other component install and configure corectly, but squid spit out some error int he dash
The following packages are not properly installed. You need to fix this before trying to use them or install new modules.
zentyal-squid    Zentyal - HTTP Proxy    6.2.0
To solve this situation, please try to execute the following command in the console:

sudo dpkg --configure -a

After the above command is finished you can reload this page. If the problem persists, you can ask for help in the community forum or file a ticket in the Zentyal trac.

when i run the listed command i get
[sudo] password for *********:
Setting up zentyal-squid (6.2.0) ...
Can't use an undefined value as an ARRAY reference at /usr/share/perl5/EBox/Module/Base.pm line 285.
dpkg: error processing package zentyal-squid (--configure):
 installed zentyal-squid package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 zentyal-squid
so i searched the web and found this command
sudo dpkg --configure  -D 777 zentyal-squid
and boy it messed things up
when i go to dashboard squid is installed and running, hattp configuration and forwarding works, i can even save settings of the http module trough the site with no errors and they work i can stop and restart module trough dashboard and logs are being generated
but i still have that error message that squid is not installed and can't install any other modules because of that
what to do now, i could leave it as is but i still don't have antyvirus and few other componentsi like to install back

2
Hello
i have a big trubble with getting one of my fileservers working again.
After power outage one day, it seems that grub boot partition got corupted and after rebooting the automatic repair function messed something up.
right now computer boots only to grub rescue mode
i don't have version specyfic media for that installation, and to be sure i am not certain if it is 4.1 or 4.5 installation of zentyal because of updates. 4.1 installation media in repair mode can't mount lvm volumes so i was trying something else with no positive effects for now
i booted the machine from ubuntu live disc to see if that can be of any help, but ubuntu doesnt seems to be able to mount those partitions either, even though it can see them
fdisk output
 
Code: [Select]
root@ubuntu:/home/ubuntu# fdisk -l
Disk /dev/loop0: 1.4 GiB, 1532116992 bytes, 2992416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes




Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x000c635f

Device     Boot  Start       End   Sectors   Size Id Type
/dev/sda1  *      2048    499711    497664   243M 83 Linux
/dev/sda2       501758 976771071 976269314 465.5G  5 Extended
/dev/sda5       501760 976771071 976269312 465.5G 8e Linux LVM




Disk /dev/sdb: 28.9 GiB, 31037849600 bytes, 60620800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x012dc154

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdb1  *     2048 60620799 60618752 28.9G  c W95 FAT32 (LBA)


Disk /dev/mapper/core--vg-root: 461.5 GiB, 495561211904 bytes, 967892992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/core--vg-swap_1: 4 GiB, 4286578688 bytes, 8372224 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

system was booted from 32gb usb flashdrive by the way

i am not much of a linux  guy so i googled how to get some more info about the partitions and that is what i got
Code: [Select]
root@ubuntu:/home/ubuntu# lvscan
  ACTIVE            '/dev/core-vg/root' [461.53 GiB] inherit
  ACTIVE            '/dev/core-vg/swap_1' [3.99 GiB] inherit


root@ubuntu:/home/ubuntu# lvdisplay
  --- Logical volume ---
  LV Path                /dev/core-vg/root
  LV Name                root
  VG Name                core-vg
  LV UUID                8gbpRS-3HkL-EzGt-63Tw-7zXH-YbGg-267mq4
  LV Write Access        read/write
  LV Creation host, time core, 2016-08-17 07:24:02 +0000
  LV Status              available
  # open                 0
  LV Size                461.53 GiB
  Current LE             118151
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
   
  --- Logical volume ---
  LV Path                /dev/core-vg/swap_1
  LV Name                swap_1
  VG Name                core-vg
  LV UUID                i8QXcX-kIDd-dN26-OkzL-QeVP-C9N4-mQyXmY
  LV Write Access        read/write
  LV Creation host, time core, 2016-08-17 07:24:02 +0000
  LV Status              available
  # open                 0
  LV Size                3.99 GiB
  Current LE             1022
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1
   
root@ubuntu:/home/ubuntu# vgdisplay
  --- Volume group ---
  VG Name               core-vg
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  3
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               465.52 GiB
  PE Size               4.00 MiB
  Total PE              119173
  Alloc PE / Size       119173 / 465.52 GiB
  Free  PE / Size       0 / 0   
  VG UUID               r4nQIu-l6X7-JUup-1yHf-2esJ-8Hgl-skJYhL
   
root@ubuntu:/home/ubuntu# ls -l /dev/mapper/
total 0
crw------- 1 root root 10, 236 Dec 15 07:06 control
lrwxrwxrwx 1 root root       7 Dec 15 07:09 core--vg-root -> ../dm-0
lrwxrwxrwx 1 root root       7 Dec 15 07:09 core--vg-swap_1 -> ../dm-1

when i try to mount the root volume i got something like this
Code: [Select]
root@ubuntu:/home/ubuntu# mount /dev/core-vg/root /mnt
mount: wrong fs type, bad option, bad superblock on /dev/mapper/core--vg-root,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
when i installed logical volume mennagment tool on ubuntu it can recognize that my root partition on core lvm is in fact ext4 as it suposed to be, but for some reasons mount does not see that and i don't know where mount logs are stored
basically i am tosted , on that fileserver i have most of my archive installators, licence documentations and tools , some of them i won't be able to get back if the partition is unreadable,
i would be thankfull for any pointers

3
Other modules / Zentyal 5 http Qos
« on: September 20, 2017, 08:38:17 am »
Hello
i see my old account still works, that maakes things eassier.

the problem with http proxy looks as follow
when i want to add a rule to proxy bandwidth trottling  i am able to create the name of the object but then i got this message on top when i click add on the bottom

Object objc3 has no members. Please add at least one to use this object.

3 is of course the number that is increasing every time i add new member

What did i do wrong or is the module itself kind of broken at this moment?

Core version is 5.09 fresh install, 2 ethernet cards and that is about it. i have no idea why i get this message, khere is nothing about it on the wiki page...(there is almost nothing on wiki page about hhttp trottling at all)


4
Ok hello, i have a big problem with multiple zentyal setup

I have main domain controller for all the trafic handleing and aditional server setup for redirected files and printers.
in theory everything work
i can create accounts from main dc or from windows admin plugin
those saccounts are being seen by additional dc and

but when i created some accounts by accesing aditional server, those accounts exists only on aditional domain controller and there is no change in group membership if you edit that from aditional dc

the question is: how to move and update all the missing profiles from addditional dc to the main one? Because i created some by mistake from the additional dc and now i can't use them
Any ideas?

5
Installation and Upgrades / zen 4.1 , no printer access
« on: August 27, 2015, 10:56:08 am »
Hello.
Once again i had to reinstall server infrastructure in my school, and everything seems to work ok. But i noticed that i cant install printers propertly.

box specs are core2duo e7300 4gb ddr2 666 in dual and sata2 storage there is also 2 networking cards , one for local acces and one for outside acces
box runs zential 4.1 development 64bit as a aditional domaincontroller,
this server serves as a backup file server and printserver

what i did is full uninterupted installation of zentyal 4.1 with most of the components
there is no errors messages and everything seems to play nice
firewall is open in all directions
cups is running
test pages are being printed from cups on all printers from both interfeces set to listening
printers are shared and seen by zentyal admin interface
samba file shares and acl work


what does not work
there is no printers share seen from windows box
there is no printers icons in main server share directory
anonymous access doesn't do anything
acl shows printers in main server share but i can't install them because  "canot access the printer" message pop up

6
Helo. My newest problem occured randomly and most unexpected

for a fresh star of new school year i purged old zentyal installation and reinstalled zentyal 3.4 on my primary server.
Afterward i noticed that 3.5 was up, so i upgraded fresh system and then  set up new domain from scratch.

After some unexpected errors with bulk user accounts import i created 320 accounts by hand, connected all curent school workstations (25 windows vista boxes and 2 windows 7) and everything seems to wrok fine

but after i created login scripts and asociated them with user login in gpo editor on my admin windows box (not from zentyal browser based setup site but by installing remote admin pack on vista box) and some minor changes in gpo, i noticed that some settings ar updated almost instantly and some like folder redirections are not working at all. So i was trying to create another share on my primaty domain controller and it resulted in  this error message
Code: [Select]

Some modules reported error when saving changes . More information on the logs in /var/log/zentyal/

The following modules failed while saving their changes, their state is unknown: samba The following modules failed while saving their changes, their state is unknown: samba at The following modules failed while saving their changes, their state is unknown: samba at /usr/share/perl5/EBox/GlobalImpl.pm line 742 EBox::GlobalImpl::saveAllModules('EBox::GlobalImpl=HASH(0x370e9a8)', 'progress', 'EBox::ProgressIndicator=HASH(0x110d770)') called at /usr/share/perl5/EBox/Global.pm line 95 EBox::Global::AUTOLOAD('EBox::Global=HASH(0x370e3a8)', 'progress', 'EBox::ProgressIndicator=HASH(0x110d770)') called at /usr/share/zentyal/global-action line 32 eval {...} at /usr/share/zentyal/global-action line 30

For some reson i can login corectly on those workstations with any randomly chosen profile, most of my gpo settings are working but i cant access any newly created shares on domain controller, well i can get in, but i cant create any file in those shares

error.log (windows notepad version) is in attachment but i cant read that. it is too linux for me unfortunetly. it mostly looks like missing png files?
Also when i was looking for any option that might be the coulprit in admin web interface i clicked on domain gpo and the result was this message
Code: [Select]
Unable to load dafault file at /usr/share/perl5/EBox/Samba/SmbClient.pm line 52, <GEN0> line 535. Stack: [/usr/share/perl5/EBox/Samba/SmbClient.pm:52] [/usr/share/perl5/EBox/Samba/GPO/Scripts.pm:266] [/usr/share/perl5/EBox/Samba/Model/GPOScriptsStartup.pm:86] [/usr/share/perl5/EBox/Model/DataTable.pm:1408] [/usr/share/zentyal/templates/ajax/modelViewer.mas:79] [/usr/share/zentyal/templates/ajax/tableBody.mas:21] [/usr/share/zentyal/templates/ajax/tabMenu.mas:60] [/usr/share/zentyal/templates/ajax/composite.mas:36] [<anonymous component>:46] at /usr/share/perl5/EBox/CGI/Base.pm line 364again i don't get it, so i copied "more technical detail" to word

Sory if my english is a total mess i didn't have time to edit and corect it

7
Hello again.
For some reason my secundary domain controller, which was working fine for several months, begin to work weird.
The most annoying thing is that i can't print on any printer from windows clients, jobs just evaporating before they reach cups. Communication is fine, i can print from server just fine both from desktop aplication and cups maintenance page (test prints) those jobs are also listed, but jobs send from windows clients are missing, and windows does not show any problems. printer status is "ready" and responding.

I was going around this problem and
reinstalled printers on windows - no effect
reinstalled printers in cups - no effect
reinstalled whole printers service in dashboard - no change
rebooted server few times while thinking of solutions

It also seemd that if i enable ACL, none can access printers (adding groups "users" or specyfic user does not help) so it is set to guest access on all printers
we have 4 printers and every one was working. they all connected to server by ip socket

Everything was working just yesterday when i installed new printer and i did not install any new updates now we have 4 printers that do not print

Where should i start looking first, because i am out of ideas

8
Installation and Upgrades / printserver hp driver issues
« on: May 08, 2014, 10:45:43 am »
helo. I have one little problem with print servers after updating some packages
Apparently cups updated to 3.14 version along with last update/upgrade commands and most of my printers work ok.
But the one that i would realy want to work is giving this error   stopped
"/usr/lib/cups/filter/hpcups failed"
i think that cups version 3.14 cant work with zentyal repository 3.12.2 driver
Any way to upgrade this driver or downgrade cups?
zentyal 3.3.10 community community (32bit)

edit
i confused some versions numbers
cups is 1.5
hpcups is 3.12.2, but manualy installing 3.14 add nothing but some more confusion
printer model is hp officejet professional p1102 hook to the network via tplink printserver tl-ps110u
Printserver "see" the printer and i can print outside of domain (but ms word print endlesly)

it worked fine just a week ogo, more than 20 prints done, from 5 computers, now it stuck on every one

9
Installation and Upgrades / move domain controller to new server box
« on: December 10, 2013, 11:28:19 am »
Hello . In my work (school) we buy a new machine for ours main zentyal domain controller
 Jump would be huge, because instead c2d 2x2,8 /4gb we get xeon 4 cores with ht (8 treads) and 16gb of faster ram. The problem is in how could i move  entire domain from one computer to another and then replace their functions. I mean make new box a primary domain controller and old one secundary with gateway function intact. Most important is to move all existing user profiles in samba. I would like also to migrate from 32 bit zen 3.0 to 64 bit zen 3.2

I was thinking about making new box secundary controller first (it should copy domain controller to new box) after installing os  but what next?

10
Installation and Upgrades / how to handle many vista/seven users
« on: October 29, 2013, 02:07:29 pm »
Hello i have a little bit of mess with my network again.
Everything work ok up to the point when half of my bigger classroom start to login . There is about 20 pc's and all of them are windows vista buisness
server runs at core 2 duo e7300 with 4gb of ddr2 ram in dual channel and at the point of 10 pc loged in it is 100% bussy all the time. any more users simply cant do anything and loging in jams network completly
I enabled on my server roaming profiles and folder redirection, but it could work with either one of them alone i think. So witch of those services is more resource-jammer, becouse i must disable one of them to allow a normal school work ?
What kind of server should i build to enable them both and they to work eficiently?

11
Kind of stupid problem
In samba configuration  by Zentyal is  what i read something like "automatic generated samba.conf on every change or startup" so manualy enabling external access to samba shares is out of the question. the problem is in my school there are many teachers  computers, which are not connected under my internal network. They are in higher level school network alongside the server "external" adress, but the problem is i would like to alow them to access specyfic share whatever they are in their classrooms or in computer room, staff room or wathever place in school by autorized user account.
i was thinking about taking down "external wan" tag from my eth0 or adding another card under the same network. but that could be problematic .
is there any legitimate way of giving access to samba from external network in zentyal 3.0?

12
Installation and Upgrades / mixing xp and vista profiles
« on: October 15, 2013, 11:15:41 am »
hi there.
I have just another problem with Zentyal community 3.0
simple little thing but i can't figure it out
in samba domain windows xp profiles are stored in home\samba\profiles\profilename\ but for the same profile in vista is created another folder with separate desktop and documants under home\samba\profiles\profilename.v2\
How to make desktop and other stuff default for both windows types? i mean i want to login from xp and vista on the same profile accessing the same directories.

13
hi. The problem is simple. I installed zentyal community version in my school (work for me) last month and it was working ok. (for 6 weeks)  File sharing, roaming profiles, printers, internet routing and some other stuff. there was created 300 profiles (500mb quota) for 24 vista machines and two of them were equipt in admin packs for domain and gpo administration. And it was working just fine until i logout yesterday, and today i can,t add new machines, can't mennage domain "rpc server not responding" and profiles has stop synchronizating. I can't find anything wrong with the server from the dashboard, samba is working and enabling/distabling roaming profiles does not produce any errors.
server is up to date with updates "The system components are up to date." but it still show "6 updates avalable" in dashboard.
i would be happy with any help.

14
Installation and Upgrades / roaming profiles crashes samba every time
« on: August 23, 2013, 10:43:07 pm »
Hi there. I'm new at Zentyal, pretty slow in understanding linux based systems, but not as bad as it sounds.

The thing is, i was trying to figure out how to setup zentyal as a shool sbs replacement server for a few days now. And i was able to setup it pretty much as i wanted it, but one thing was bugging me. And it is roaming profiles checkbox and save button. For what i understand , i should click on first run all app's i would like to use. That is pretty much half of it:
File sharing & domain services , Printer sharing , DHCP server, dns server, web server, ftp server, firewall, http proxy and some more packets.
So i put in cd, go trough setup strugling with partitioning manualy (it does not work otherway) login to web browser mennagment , install all app,s and fill in all forms that pop up along the way. (ethernet and domain configuration) , and then my server kind of worked, all but those roaming profiles (whitch i assumed were as defauld enabled). When i figured out they wer not, i clik them and save. i got error while samba configuration. When i stop samba services and then aply roaming profiles it kind of work until i reenable samba services.And when i unchek them and save it is all green and ok (but they are disabled of course)

server is a pentium dual core machine with 500gb sata hard drive 2gb of ram and 2 network adapters (pci eth0 100mbit nic for internet and external network and integrated gigabyte ethernet nic as eth1 for domain use) i was using 3,2 beta zential because 3.0 stable was shouting about outdated packets and i did not know how to bypaswelcome screen and update them before installation.

If you need any logfile or something to help, you need to put it streight and simple what and where to look for it, because i was windows server admin for too long and i cant say that i known what linux is and how to move atound :]

So is there any instalation order for those app's to be able to enable roaming profiles?

Pages: [1]