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 - Laurent Dinclaux

Pages: 1 ... 3 4 [5] 6
61
Installation and Upgrades / Upload web site content
« on: March 07, 2012, 01:27:49 am »
Hello,

How are we supposed to upload a website to the web server? Using ssh and then giving the proper permissions and ownership (www-data)?

What about if I need some users to upload to some websites but not others? Those users are not aware of SSH and permissions things...

Regards.

62
Installation and Upgrades / Re: Fixing samba shares permissions
« on: March 07, 2012, 01:25:16 am »
I ran into the "+" question myself and it seems to indicate it is associated with an ACL (Access Control List). If you look at File Sharing, Shares, Access control [for the particular share] do the permissions make sense for the account you are trying to add the folder under?

Not sure about the above. Just brainstorming. Would love to hear if this makes any sense and helps at all

ACL ... How can I give this permission on manually copied files over ssh ? That is the question ...

63
Installation and Upgrades / Fixing samba shares permissions
« on: February 08, 2012, 06:32:11 am »
Hello,

I have setup a Zentyal server for a customer to replace a centos install. I have created the needed shares and copied to files to those. What chmod/chown command should I run to fix permissions? I have tried something but I ended with the inability to created directories in the share I am working in ...

As an exemple here the permissions I get when creating a new file:

-rwxrwx---+  1 ithupane __USERS__    0 2012-02-08 15:48 Nouveau document 3

I don't get what is that plus sign at the end of the permissions. And I don't get what I have done wrong to lost the ability to create folders (I can create files)

Thank you.


64
Installation and Upgrades / Which version am I runing how to upgrade
« on: August 02, 2011, 02:47:40 am »
Hello,

How can I know which zentyal version am I running? In case I run 2.0.x, how to upgrade to 2.1, sudo apt-get update && sudo apt-get dist-upgrade says there are no upgrades available.

Regards

65
Installation and Upgrades / Voip server shutting down itself
« on: April 29, 2011, 02:44:48 am »
Hello,

My Zentyal Voip server shuts down itself randomly. I have not done any cutomisation and simply configured it using the web interface. Here are the logs:

[Apr 29 11:39:44] NOTICE[8195] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Apr 29 11:39:44] NOTICE[8195] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Apr 29 11:39:44] NOTICE[8195] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Apr 29 11:39:44] NOTICE[8195] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Apr 29 11:39:44] WARNING[8195] translate.c: plc_samples 160 format f
[Apr 29 11:39:44] NOTICE[8195] config.c: Registered Config Engine curl
[Apr 29 11:39:44] ERROR[8195] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No such file or directory
[Apr 29 11:39:44] WARNING[8195] utils.c: trying to reset empty pool
[Apr 29 11:39:44] WARNING[8195] utils.c: trying to reset empty pool
[Apr 29 11:39:44] WARNING[8195] utils.c: trying to reset empty pool
[Apr 29 11:39:44] WARNING[8195] res_musiconhold.c: Unable to open pseudo channel for timing...  Sound may be choppy.
[Apr 29 11:39:44] WARNING[8245] res_musiconhold.c: /var/lib/asterisk/mohmp3/ is not a valid directory
[Apr 29 11:39:44] WARNING[8245] res_musiconhold.c: Unable to spawn mp3player
[Apr 29 11:39:45] ERROR[8212] res_config_ldap.c: Couldn't modify dn:uid=nexus,ou=Users,dc=zen because Invalid syntax[Apr 29 11:39:45] ERROR[8212] res_config_ldap.c: Couldn't modify dn:uid=nexus,ou=Users,dc=zen because Naming violation[Apr 29 11:39:45] NOTICE[8212] chan_sip.c: Peer 'nexus' is now Reachable. (195ms / 2000ms)
[Apr 29 11:39:55] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:39:55] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:40:01] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:40:05] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:40:05] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:40:15] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:40:15] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:40:25] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:40:25] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:40:35] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:40:35] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:40:46] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:40:46] WARNING[8212] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:40:51] WARNING[8458] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:41:25] NOTICE[9434] cdr.c: CDR simple logging enabled.
[Apr 29 11:41:25] NOTICE[9434] loader.c: 195 modules will be loaded.
[Apr 29 11:41:25] WARNING[9434] loader.c: Error loading module 'cdr_odbc.so': /usr/lib/asterisk/modules/cdr_odbc.so: undefined symbol: ast_odbc_request_obj
[Apr 29 11:41:25] WARNING[9434] loader.c: Error loading module 'pbx_ael.so': /usr/lib/asterisk/modules/pbx_ael.so: undefined symbol: ast_compile_ael2
[Apr 29 11:41:25] WARNING[9434] loader.c: Error loading module 'app_speech_utils.so': /usr/lib/asterisk/modules/app_speech_utils.so: undefined symbol: ast_speech_start
[Apr 29 11:41:25] WARNING[9434] loader.c: Error loading module 'res_agi.so': /usr/lib/asterisk/modules/res_agi.so: undefined symbol: ast_speech_start
[Apr 29 11:41:25] WARNING[9434] loader.c: Error loading module 'func_odbc.so': /usr/lib/asterisk/modules/func_odbc.so: undefined symbol: SQLFetch
[Apr 29 11:41:25] WARNING[9434] loader.c: Error loading module 'cdr_adaptive_odbc.so': /usr/lib/asterisk/modules/cdr_adaptive_odbc.so: undefined symbol: ast_odbc_request_obj
[Apr 29 11:41:25] NOTICE[9434] config.c: Registered Config Engine sqlite
[Apr 29 11:41:25] NOTICE[9434] res_odbc.c: res_odbc loaded.
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#callback' at line 71 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#dialout' at line 74 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#envelope' at line 76 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#forcegreetings' at line 77 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#forcename' at line 78 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#hidefromdir' at line 80 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#nextaftercmd' at line 82 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#operator' at line 83 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#review' at line 86 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#saycid' at line 87 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#sayduration' at line 88 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#saydurationm' at line 89 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#sendvoicemail' at line 90 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] WARNING[9434] config.c: Unknown directive '#tz' at line 92 of /etc/asterisk/res_ldap.conf
[Apr 29 11:41:25] NOTICE[9434] config.c: Registered Config Engine ldap
[Apr 29 11:41:25] NOTICE[9434] res_smdi.c: No SMDI interfaces are available to listen on, not starting SMDI listener.
[Apr 29 11:41:25] NOTICE[9434] chan_sip.c: The 'username' field for sip peers has been deprecated in favor of the term 'defaultuser'
[Apr 29 11:41:25] WARNING[9434] app_voicemail.c: maxsilence should be less than minsecs or you may get empty messages
[Apr 29 11:41:25] ERROR[9434] ais/clm.c: Could not initialize cluster membership service: Try Again
[Apr 29 11:41:25] ERROR[9434] chan_vpb.cc: No Voicetronix cards detected
[Apr 29 11:41:25] NOTICE[9434] chan_skinny.c: Configuring skinny from skinny.conf
[Apr 29 11:41:25] NOTICE[9434] pbx_ael.c: Starting AEL load process.
[Apr 29 11:41:25] NOTICE[9434] pbx_ael.c: AEL load process: parsed config file name '/etc/asterisk/extensions.ael'.
[Apr 29 11:41:25] NOTICE[9434] pbx_ael.c: AEL load process: checked config file name '/etc/asterisk/extensions.ael'.
[Apr 29 11:41:25] NOTICE[9434] pbx_ael.c: AEL load process: compiled config file name '/etc/asterisk/extensions.ael'.
[Apr 29 11:41:25] NOTICE[9434] pbx_ael.c: AEL load process: merged config file name '/etc/asterisk/extensions.ael'.
[Apr 29 11:41:25] NOTICE[9434] pbx_ael.c: AEL load process: verified config file name '/etc/asterisk/extensions.ael'.
[Apr 29 11:41:25] WARNING[9434] translate.c: plc_samples 160 format f
[Apr 29 11:41:25] NOTICE[9434] config.c: Registered Config Engine curl
[Apr 29 11:41:25] ERROR[9434] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No such file or directory
[Apr 29 11:41:25] WARNING[9434] utils.c: trying to reset empty pool
[Apr 29 11:41:25] WARNING[9434] utils.c: trying to reset empty pool
[Apr 29 11:41:25] WARNING[9434] utils.c: trying to reset empty pool
[Apr 29 11:41:25] WARNING[9434] res_musiconhold.c: Unable to open pseudo channel for timing...  Sound may be choppy.
[Apr 29 11:41:25] WARNING[9485] res_musiconhold.c: /var/lib/asterisk/mohmp3/ is not a valid directory
[Apr 29 11:41:25] WARNING[9485] res_musiconhold.c: Unable to spawn mp3player
[Apr 29 11:41:25] WARNING[9449] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:41:25] WARNING[9449] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:41:35] WARNING[9449] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.
[Apr 29 11:41:35] WARNING[9449] res_config_ldap.c: realtime retrieval requires at least 1 parameter and 1 value to search on.

66
Installation and Upgrades / Re: postgres close to 100% CPU usage
« on: March 18, 2011, 12:43:12 am »
I face the same problem: postgres is continuously running using 90% of CPU, non stop.

67
Thanks that solved it for viruses.

Now I get, every hour:

/etc/cron.hourly/90manageEBoxLogs:
Reconnecting to redis server (1 try)... at /usr/share/perl5/EBox/Config/Redis.pm line 567, <GEN5> line 1.
/etc/cron.hourly/freshclam:
run-parts: failed to exec /etc/cron.hourly/freshclam: Exec format error
run-parts: /etc/cron.hourly/freshclam exited with return code 1

69
I found my answer and solved it by adding to /etc/ebox/hooks/firewall.postservice :

iptables -I inospoof 1 -j ACCEPT -s x.x.x.x/x -i ppp9+
iptables -I fnospoof 1 -j ACCEPT -s x.x.x.x/x -i ppp9+

And by adding unit 91 to pptpd.options.

More here: http://forum.zentyal.org/index.php?topic=5065.0#msg21092

70
Anyway that can be solved? Than hourly cron email is annoying. Thanks.

71
Hello,

I have configured Pptp access to my server (my phone doesn't support openvpn)

I can connect and ping my phone from a local computer, but when I want to access internet, or even the zentyal gateway it fails:

ebox-firewall drop IN=ppp0 OUT= MAC= SRC=10.0.0.200 DST=10.0.0.1 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=582 DF PROTO=TCP SPT=36146 DPT=80 WINDOW=5424 RES=0x00 SYN URGP=0 MARK=0x1

It seems that I must allow access to from the ppp0 interface. How can I do that?

Thanks

72
/etc/cron.hourly/90manageEBoxLogs:
Error inserting data: INSERT INTO samba_virus_share_report ( filename, date, virus) VALUES ( ?, ?, ?)
ERROR:  column "filename" of relation "samba_virus_share_report" does not exist
LINE 1: INSERT INTO samba_virus_share_report ( filename, date, virus...

73
I have done exactly the same install steps using a weak password for the first user...

And it installed...

74
Installation and Upgrades / Samba share: read only guest access
« on: October 30, 2010, 01:51:18 am »
Hello,

When turning on guest access to a share, anyone has rw access to it. How can I setup a share with read only guest access ?

Regards

75
Hello,

I have exactly the same error here! And I have to install in expert mode because of raid1.

Same error at same step. Help needed please...

Pages: 1 ... 3 4 [5] 6