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 - expertgeeks

Pages: 1 ... 6 7 [8] 9
106
Installation and Upgrades / Re: Webmail Error
« on: January 07, 2012, 02:37:08 am »
tried doing a purge of roundcube after removing the webmail module;
Code: [Select]
sudo apt-get purge roundcubeand autoremoved unnecessary modules, reinstalled the webmail module.. but I'm getting errors in the postgres logs when trying to login to roundcube;
Quote
2012-01-07 01:30:47 GMT FATAL:  password authentication failed for user "roundcube"
Is it possible to get zentyal to re-initialise postgres user permissions for roundcube?

107
Installation and Upgrades / Re: Webmail Error
« on: January 06, 2012, 12:31:26 pm »
I have the same error, Zentyal 2.2.4. Reinstalled users and groups
Code: [Select]
/usr/share/zentyal-users/reinstall. Have tried removing and re-installing mail, mailfilter and webmail modules but am getting the same error from roundcube;
Quote
DATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator.

Any suggestions ?

108
Installation and Upgrades / Re: Problems with Samba shares with 2.0.16
« on: December 02, 2011, 09:47:56 pm »
Have you upgraded samba but not rebooted recently? I had the http://forum.zentyal.org/index.php/topic,8867.0.html same problem. Samba permissions were fixed after rebooting, re-editing & saving the troublesome share permissions. You should then find that they work again :)

109
Installation and Upgrades / Re: SAMBA / File Sharing permissions broken
« on: December 01, 2011, 09:47:49 pm »
OK, I had to wait until all the users were done for the day. I rebooted the box & logged back in to find that the permissions were still screwed (gulp!)..

I changed the permission settings on the folders (i.e. unticked guest access) & saved changes..


PERMISSIONS RESTORED !!! Cue much dancing. \o/


Thanks jjm1982, without your post I'd have waited until I could physically get at the server before rebooting.

110
Installation and Upgrades / Re: SAMBA / File Sharing permissions broken
« on: December 01, 2011, 10:23:30 am »
Thanks jjm1982, that's the only thing I hadn't tried yet. I cannot physically access the server for another few days so I hadn't wanted to risk breaking things that are working by doing so. So much for being cautious !!

I'll report back when done. Cheers!

111
Hi All,

I'm having real trouble with Samba Share Authentication, something broke it recently & I'm trying to work out what changed to cause it to break and how to fix the live server...

The server is configured as a PDC/file server (2.2 install, upgraded to core version 2.2.3) and until recently the samba shares were all behaving themselves according to the ACLs I had set for each with Zentyal User Groups. Most shares were restricted to some of the user groups (up to 4 groups per share), and one shared folder was accessible to all (i.e. adding all available user groups to the ACL). No 'guest' enabled shared were created.

After the server has been up for almost a month (and untouched for over a week) I have been contacted by users who are unable to access the network shares they were previously able to. The folder opens & contents are displayed, but accessing any of the files results in "Access denied". This is consistent with XP, and Win 7.

Logging in to the web GUI failed with the same message I have previously discussed.

Code: [Select]
Internal Server Error

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

As before I deleted as much as I could (deleting logs didn't help, but deleting the backups did free enough space) and was then able to log in to the GUI.

I changed one share to allow guest access, but windows users were still unable to open the files from this guest share. With panic rising steadily I then created a test folder, enabled guest access to it but users were unable to read or write to this either until I chmod'd the folder;

Code: [Select]
sudo chmod -R ugo+rwx /testfolder

only then was a user able to read objects or write to this test folder. Data was then copied into this now unprotected folder so that users could at least access a copy of the data, while this problem is being resolved.

I have tried accessing the samba shares on the server directly using smbclient, with a user that has admin access to the share in question;

Code: [Select]
smbclient -U <Username> //<IP Address>/<Share>
Enter <Username>'s password:
Domain=[Correct Domain Name] OS=[Unix] Server=[Samba 3.4.9]
smb: \>

ls -al successfully listed the contents of the share, however trying to get a file resulted in access denied.

Code: [Select]
smb: \> get "Filename.docx"
NT_STATUS_ACCESS_DENIED opening remote file \Filename.docx

Suggestions are welcome where I go from here.. Thanks!

112
*ahem*  :-[

I intended to, I just hadn't got round to it yet  ;)

Cheers !

113
Installation and Upgrades / [SOLVED] Re: / 100% full - GUI login fails
« on: November 16, 2011, 05:03:01 pm »
Happily I can report that when I checked back this evening after being with customers all day, with no further intervention the quota issue for root and / seems to have been resolved. I can only suggest that normal housekeeping routines fixed the problem.

Code: [Select]
df
Filesystem           1K-blocks      Used Available Use% Mounted on /dev/mapper/pdc_dhgdbbiba1
                      38445384   3854696  32637616  11% /
none                   4023520       284   4023236   1% /dev
none                   4028176         0   4028176   0% /dev/shm
none                   4028176      1072   4027104   1% /var/run
none                   4028176         0   4028176   0% /var/lock
none                   4028176         0   4028176   0% /lib/init/rw
none                  38445384   3854696  32637616  11% /var/lib/ureadahead/debugfs
/dev/mapper/pdc_dhgdbbiba5
                     915098988  39153632 829461032   5% /home

114
Installation and Upgrades / Re: / 100% full - GUI login fails
« on: November 16, 2011, 12:07:50 pm »
OK, tried setting it using doubled values as root and I get;
Code: [Select]
edquota: WARNING - /dev/mapper/pdc_dhgdbbiba5: cannot change current block allocation
edquota: WARNING - /dev/mapper/pdc_dhgdbbiba5: cannot change current inode allocation

115
Installation and Upgrades / Re: / 100% full - GUI login fails
« on: November 16, 2011, 11:28:41 am »
# edquota -u root
-And adjust the quota as required

Now we're getting somewhere, thanks v much for that c4rdinal.
Code: [Select]
Disk quotas for user root (uid 0):
  Filesystem                   blocks       soft       hard     inodes     soft     hard
  /dev/mapper/pdc_dhgdbbiba5     491292          0          0       1547        0        0

Should I just multiply those values by 2 ? i.e. /dev/mapper/pdc_dhgdbbiba5     982584          0          0       3094        0        0
or do you have something else to suggest we use for those values instead? Is it possible to turn off quota for root?

Thanks for your help C4rdinal.

116
Installation and Upgrades / Re: / 100% full - GUI login fails
« on: November 16, 2011, 10:50:49 am »
Ok, I have deleted *ALL* the zentyal backups, now I can log in. / still only has 14% free, despite having 800gb+ free on the disk itself. How can I increase the quota for root on / ?

I currently have no backups and am likely to run into this problem again soon. Can anyone explain why a 480Mb quota imposed on root anyway?!

117
Installation and Upgrades / Re: / 100% full - GUI login fails
« on: November 16, 2011, 10:41:12 am »
Thanks for the clarification. I'm not getting any extra space from the logs & duplicity backups I have deleted, why would deleting more logs change this?

The numbers on the df are changing but still I have 100% / in use.

Code: [Select]
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/pdc_dhgdbbiba1
                      38445384  37666620         0 100% /

118
Installation and Upgrades / Re: / 100% full - GUI login fails
« on: November 16, 2011, 10:33:34 am »
I have deleted old log files but this has not created any free space.

119
I cannot log in to my x64 Zentyal 2.2 machine;
Code: [Select]
Internal Server Error

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

Please contact the server administrator, webmaster@localhost 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.

/ has run out of space, despite the drives being >90% empty !

Code: [Select]
$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/pdc_dhgdbbiba1
                      38445384  37677368         0 100% /
none                   4023520       284   4023236   1% /dev
none                   4028176         0   4028176   0% /dev/shm
none                   4028176      4512   4023664   1% /var/run
none                   4028176         0   4028176   0% /var/lock
none                   4028176         0   4028176   0% /lib/init/rw
none                  38445384  37677368         0 100% /var/lib/ureadahead/debugfs
/dev/mapper/pdc_dhgdbbiba5
                     915098988  38301688 830312976   5% /home

also 'repquota -sau' gives;
Code: [Select]
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      --    480M       0       0           1547     0     0
ebox      --      36       0       0              7     0     0
... etc etc

I have deleted old log files but this has not created any free space. Why has / run out of space ?!
I cannot physically access this machine at present & welcome suggestions of a remote fix. Thanks.

120
Installation and Upgrades / [SOLVED] LDAP Resync
« on: October 22, 2011, 02:18:32 pm »
Ok that's great. Slapd CPU usage back down to >2%..

As there seems to be a single slapd ldif now, there's only one to edit. Stop user and groups (i.e. slapd) and edit the database using nano or editor of your choice ;)
Code: [Select]
sudo /etc/init.d/zentyal users stop
sudo nano /etc/ldap/slapd.d/cn\=config/olcDatabase\=\{1\}hdb.ldif

I found the entries
Code: [Select]
olcDbIndex: objectClass eq
olcDbIndex: entryUUID eq

were already set, so all I needed to do was add the missing field from the database index as per the syslog messages; (displayName) not indexed
Code: [Select]
olcDbIndex: displayName eq

and restart users & groups
Code: [Select]
sudo /etc/init.d/zentyal users start

Thanks jsalamero for putting me on track.

Pages: 1 ... 6 7 [8] 9