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.


Messages - kokodin

Pages: [1] 2 3
1
dpkg -l | egrep -v '^(ii|rc)'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                   Version                                         Architecture Description
+++-======================================-===============================================-============-===============================================================================
iF  zentyal-squid                          6.2.0                                           all          Zentyal - HTTP Proxy

and that's it really

but as i say that dpkg command with parameters d and 777 kind of messed things up by installing http proxy with errors returned

sudo dpkg --configure  -D 777 zentyal-squid
D000001: ensure_diversions: new, (re)loading
D000001: process queue pkg zentyal-squid:all queue.len 0 progress 1, try 1
D000040: checking dependencies of zentyal-squid:all (- <none>)
D000400:   checking group ...
D000400:     checking possibility  -> zentyal-core
D000400:       checking non-provided pkg zentyal-core:all
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> zentyal-core
D000400:       checking non-provided pkg zentyal-core:all
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> zentyal-firewall
D000400:       checking non-provided pkg zentyal-firewall:all
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> squid
D000400:       checking non-provided pkg squid:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> dansguardian
D000400:       checking non-provided pkg dansguardian:amd64
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> adduser
D000400:       checking non-provided pkg adduser:all
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000400:   checking group ...
D000400:     checking possibility  -> zentyal-core
D000400:       checking non-provided pkg zentyal-core:all
D000400:       is installed, ok and found
D000400:     found 3
D000400:   found 3 matched 0 possfixbytrig -
D000040: ok 2 msgs >><<
D000040:     checking Breaks
Setting up zentyal-squid (6.2.0) ...
D000002: fork/exec /var/lib/dpkg/info/zentyal-squid.postinst ( configure  )
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
D000001: ensure_diversions: same, skipping
Errors were encountered while processing:
 zentyal-squid

i forget to post this one last time

on previous atempt to install 6.2 i had the same errors but i also tryed to purge squid  and clean after the install with apt-get autocleen and clean and nothing has changed

my corrently installed  modules are network, firewall, dhcp, logs and http proxy and they seem to be working and enabled by gui i can mannahe them and configure , enable  or disable and saving does not spit any errors the only thing now is that squid that is stuck with errors and it is both installed and working and not configured with errors at the same time

i am running a box with some xeon v2 , 16 gb of ddr3 memory, 2 reltek gigabit ethernets one pci one pci express and a junk geforce graphics card
eth0 is external with dhcp configured ip eth1 is internal with static ip with dhcp server running on it

2
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

3
i belive for me fastest method would be to plugg in anopther harddrive and use it as a fat32, so all ownership dada would vanish :]

4
it made me press y too many times, but most of my data seems to be there, at least the catalogs
i doubt that os will boot of that but i have something
450gb of something to move at least
thanks for help
will see what bootfinder live cd can do about the os booting , but i have little hope about that after seeing what checking program spited out
if i only remembered now how to move files from one box to another via network :]

5
root@ubuntu:/home/ubuntu/1# e2fsck /dev/mapper/core--vg-root
e2fsck 1.42.13 (17-May-2015)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/mapper/core--vg-root
Could this be a zero-length partition?

wel, this is all i get from any build in checking program, and i don,t know what size of superblock was there oryginaly created

i will try this method tomorow
https://ubuntuforums.org/archive/index.php/t-1245536.html
it might work, then again i might get deeper in shit

6
let's say i did not try it :]
Code: [Select]
root@ubuntu:/home/ubuntu/1# mount /dev/mapper/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.
root@ubuntu:/home/ubuntu/1# mount -t ext4 /dev/mapper/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.
root@ubuntu:/home/ubuntu/1#

would some kind of partition checking program work on that before mounting and wouldn't require supervision to every spoted error? i really don't want to mess up this partition even more.

ubuntu live is the newest stable version, lvm driver comes loaded with the system i belive newest stable ubuntu know what ext4 is
also i can clearly see in LVM gui that my root is in fact ext4
https://imgur.com/a/ODzfP

7
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

8
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)


9
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?

10
Installation and Upgrades / Re: zen 4.1 , no printer access
« on: September 01, 2015, 12:55:15 pm »
sorry for bumping the topic, but is there any thing different with printer interface in zentyal 4.1 than in 3.2?

How to configure shared printers to work? because i cant figure this out, i don't know which logs to look into. i did everything the same as in the zentyal 3.2 and printers still refuse do work. and the only right for rte printer which i can assign to a user is "print" and there is no "manage" or any other label to assign

if i am talking chaotically, i am sorry but i spent last 6 weeks on workstation installations and i can barely see

11
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

12
Installation and Upgrades / Re: Set group policy
« on: September 05, 2014, 03:09:24 am »
It is an easy way to do things
You do it on one random workstation and you edit domain gpo (default domain policy or something) but the results affect all computers link to that gpo or all users link to it. That what gop is all about. (by default all zentyal users and computers are)
So you do it once and everyone is happy
You can also add scripts for login/logout, set default network drives and block some windows features like remembering last login name. You can also limit allowed local disk space per user or remotely install msi packages on all computers at once just like in every windows server environment. That is actually the beauty of zentyal and samba 4
It would be even prettier if you could do that from zentyal itself.

13
Installation and Upgrades / Re: Set group policy
« on: September 04, 2014, 12:26:24 pm »
i would do it from windows client itself.
go to microsoft and download remote server administration tools for your windows version
install it and enable features in control panell\ programs and features
then in administration tools you get gpo editor the same as on windows servers 2003+ for your zentyal domain
you need to have domain admin rights for your user to edit it

user config\rules\administration templates\desktop\desktop\ element "desktop walpaper" or "walpaper" i dont realy known how it is caled in english version (i use polish)

14
ok so i am at work right now for about 6 more hours with physical access to server box. zentyal.log in atachment
but i have also zentyal.log.1 thay is 12 mb big, and there is one other log that big, so i cant even post it. and my install is only like two weaks old

my box is runing on 8 core xeon with 16gb of ram and 1 tb harddrive
zentyal 3.4 was installed first  and only updated and upgraded to 3.5 before any software packet was installed
there is also one aditional domain controler box with zentyal 3.4 as a crossplatform fileserver and printserver, but it runs ok
installed components:
Network       
Firewall    
Antivirus       
DHCP        
DNS    
Events (unmarked, not used)      
Logs       
Monitoring       
NTP       
VPN (unmarked, not used)      
Users,     
HTTP Proxy    
Printers

Roaming profiles are enabled

Edit. i can see that Escorpiom error line is also in my log, but what to do now?

Edit2
I think that only not working feature of my domain is in fact file shearing. i tryed to redirect folders in gpo from wndows to my aditional domain controller. It works fine. Login and even home directories monted as network drive (from broken primary server) are also ok. And in fact yesterday i updated via dashboard 12 packages. Probably zentyal-samba 3.5.7 included. I tryed to downgrade it via synaptic, but there is no other version avalable.
After i removed all 2 empty shares from my zentyal 3.5 box, it saved changes fine . i cant create new ones and save without this error but with no shares it saves changes ok, and i still cant get to gop editor via browser i could before those 12 updates.(probably all from last 2 weeks)
And one more thing , shares created on zen3.5 befor update (dashboard "component updates avalable") were all working before and after update of those packages, but i could not create new or edit theit acl, even after edit there was no change from client point of view

15
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

Pages: [1] 2 3