Hi,
The installation went fine, no error.
However I don't see the OwnCloud listed in any services for configuration.
I browse through, user, system and network none of them listed OwnCloud service, in Alt-F packages it shows installed. I manually go into lighthttp and browse the owncloud folder, upon open Owncloud main pages said GD Library not installed,
Hi,
Thanks for info. I remove owncloud and php as well as lighthttp and reinstall again.
This time I went into lighthttpd service and click web page, a "404: Page not found" salutes me.
-uninstall owncloud
-verify that php and lighttpd are installed
-configure lighttpd supplying a folder on disk as the "server root", and check "Enable PHP". You don't need to change anything else, hit Submit-start lighttpd, then go again to its configuration webUI and hit WebPage, try hitting the hello.html and hello.php. Working?
-install owncloud. At the end, go again to the lighttpd configuration webUI, verify that several PHP extension checkboxes are now checked (including "gd"), use WebPage and hit the owncloud link. Working?
Please ask your server administrator to install the module.
PHP modules have been installed, but they are still listed as missing?
Please ask your server administrator to restart the web server.
I have these modules enabled:calendar | ctype | curl | dom | ||||||||
exif | fileinfo | ftp | gd | ||||||||
hash | iconv | json | mbstring | ||||||||
mcrypt | mysql | openssl | pdo | ||||||||
pdo_mysql | pdo_sqlite | posix | readline | ||||||||
session | simplexml | snmp | soap | ||||||||
sockets | sqlite3 | sysvmsg | sysvsem | ||||||||
sysvshm | tokenizer | xml | xmlreader | ||||||||
xmlwriter | zip | zlib |
Ronaldo Antoni
(54)9979-8920
--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/alt-f.
For more options, visit https://groups.google.com/d/optout.
GD Support | enabled |
GD Version | bundled (2.0.34 compatible) |
GIF Read Support | enabled |
GIF Create Support | enabled |
JPEG Support | enabled |
libJPEG Version | 8 |
PNG Support | enabled |
libPNG Version | 1.2.38 |
WBMP Support | enabled |
XBM Support | enabled |
What version of php do you have installed? 5.4.4-2 ?
Have you restarted lighttpd, as Ronaldo suggests (although hitting Submit will restart lighttpd)?
Have you cleared the browser cache after restarting lighttpd?
What version of php do you have installed? 5.4.4-2 ?YupHave you restarted lighttpd, as Ronaldo suggests (although hitting Submit will restart lighttpd)?YupHave you cleared the browser cache after restarting lighttpd?Yup
I have tried method restart the lighthttpd still same problem.
So I uninstall owncloud and php, then I install php alone and click gd support only.
When I check hello.php, it still doesn't listed it as install.
I am not sure if I am doing it right, but it looks like this library had problem enabled in php
Is there anyway I can manually install via cmd line?
grep extension=gd.so /etc/php.ini
extension=gd.so
ls -la /usr/lib/php5/extensions/gd.so
-rwxr-xr-x 1 root root 279380 Jun 24 14:26 /usr/lib/php5/extensions/gd.so
php -m | grep gd
gd
ipkg update
ipkg -force-depends remove php
ipkg install php
php -m | grep gd # displays nothing
grep extension=gd.so /etc/php.ini # displays the extension as commented
;extension=gd.so
Please ask your server administrator to install the module.
At first I got this:
[root@DNS-323]# grep extension=gd.so /etc/php.ini
;extension=gd.so
[root@DNS-323]# ls -la /usr/lib/php5/extension/gd.so
ls: /usr/lib/php5/extension/gd.so: No such file or directory
[root@DNS-323]#
After I remove and reinstall php and owncloud using ipkg cmd, now got this:
[root@DNS-323]# ls -la /usr/lib/php5/extensions/gd.so
-rwxr-xr-x 1 root root 279380 Jun 24 21:26 /usr/lib/php5/extensions/gd.so
[root@DNS-323]# grep extension=gd.so /etc/php.ini
extension=gd.so
gdGD Support => enabledGD Version => bundled (2.0.34 compatible)GIF Read Support => enabledGIF Create Support => enabledJPEG Support => enabledlibJPEG Version => 8PNG Support => enabledlibPNG Version => 1.2.38WBMP Support => enabledXBM Support => enabledDirective => Local Value => Master Valuegd.jpeg_ignore_warning => 0 => 0
but, upon checking hello.php, I couldn't find GD module, and when click owncloud I still getting this error:
PHP module GD not installed.
which php
/usr/bin/php
php -m:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/gd.so' - File not found in Unknown on line 0
echo -n "a122b866cfeb2c9f28925b57f1447bdb /usr/lib/php5/extensions/gd.so" > gd.so.md5sum
md5sum -c gd.so.md5sum
/usr/lib/php5/extensions/gd.so: OK
gunzip gd.so.gz # uncompress
mv /usr/lib/php5/extensions/gd.so /usr/lib/php5/extensions/gd.so- # save a backup of the old
mv gd.so /usr/lib/php5/extensions/gd.so # use new
cmp /usr/lib/php5/extensions/gd.so /usr/lib/php5/extensions/gd.so- # compare with original, no output means identical
md5sum -c gd.so.md5sum # now should display OK
php -m # gs should now appear
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/gd.so' - File not found in Unknown on line 0Ah!Please check its consistency executing the following command
echo -n "a122b866cfeb2c9f28925b57f1447bdb /usr/lib/php5/extensions/gd.so" > gd.so.md5sum
md5sum -c gd.so.md5sum
You should receive and output as/usr/lib/php5/extensions/gd.so: OKbut you probably will not.
Are you using a proxy server? or your ISP probably is? because you made several downloads, and the result was always the same.I have just downloaded (again) the sourceforge php package and manually verified that it is not corrupted.Assuming that the issue is caused by (persistently) corrupted downloads:I enclose a gd.so.gz, you have to transfer it to the file and execute the commands:
gunzip gd.so.gz # uncompress
mv /usr/lib/php5/extensions/gd.so /usr/lib/php5/extensions/gd.so- # save a backup of the old
mv gd.so /usr/lib/php5/extensions/gd.so # use new
cmp /usr/lib/php5/extensions/gd.so /usr/lib/php5/extensions/gd.so- # compare with original, no output means identical
md5sum -c gd.so.md5sum # now should display OK
php -m # gs should now appear
I
On Oct 12, 2014 5:58 AM, "Goolias Andreas" <goo...@gmail.com> wrote:
>
>
>
> On Sunday, October 12, 2014 3:37:51 AM UTC+8, João Cardoso wrote:
>>
>> PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/gd.so' - File not found in Unknown on line 0
>>
>> Ah!
>> Please check its consistency executing the following command
>>
>> echo -n "a122b866cfeb2c9f28925b57f1447bdb /usr/lib/php5/extensions/gd.so" > gd.so.md5sum
>> md5sum -c gd.so.md5sum
>>
>> You should receive and output as
>>>
>>> /usr/lib/php5/extensions/gd.so: OK
>>
>> but you probably will not.
>>
>
>
> Surprisingly, mine show ok:
> /usr/lib/php5/extensions/gd.so : Ok
So the issue is not the gd library.
As all other libraries were loaded, I assumed wrongly that GSM was in error.
>
>
>
>>
>> Are you using a proxy server? or your ISP probably is? because you made several downloads, and the result was always the same.
>> I have just downloaded (again) the sourceforge php package and manually verified that it is not corrupted.
>>
>> Assuming that the issue is caused by (persistently) corrupted downloads:
>>
>> I enclose a gd.so.gz, you have to transfer it to the file and execute the commands:
>>
>> gunzip gd.so.gz # uncompress
>> mv /usr/lib/php5/extensions/gd.so /usr/lib/php5/extensions/gd.so- # save a backup of the old
>> mv gd.so /usr/lib/php5/extensions/gd.so # use new
>> cmp /usr/lib/php5/extensions/gd.so /usr/lib/php5/extensions/gd.so- # compare with original, no output means identical
>> md5sum -c gd.so.md5sum # now should display OK
>> php -m # gs should now appear
>
>
>
>>
>>
>
> Downloaded your file and copy into the respective folder, same error.
> I gave up for now. Thanks for all your help and patience in this.
> Looks like I have no luck.
This is not a matter of luck!
But that's ok :-)
>
>>
>>
>>>>
>>>> ...
>>>>
>>>>
>>>> Do you have ffp installed?
>>>>
>>>>
>>>>>
>>>>> but, upon checking hello.php, I couldn't find GD module, and when click owncloud I still getting this error:
>>>>
>>>>
>>>> What browser are you using? Cache effects?
>>>>
>>>> Sorry, can't help more, everything looks OK.
>>>> Until I'm able to reproduce the issue I can't fix it.
>>>>
>>>>>
>>>>> PHP module GD not installed.
>>>>>
>>>>> Please ask your server administrator to install the module.
>
Ronaldo Antoni
(54)9979-8920
Update:
I resorted to change the /mnt/sda2 to a new hard drive, reinstall Alt-F packages,
This time, I install lighttp, php and finally owncloud.
Yes!, no more GD library can't load problem!
But, i still can't use it, upon starting I face with new error:
Can't write into config directory
I'm trying to use mysql owncloud7 and the 320L, but can not. I think it is the lack of the php5-mysql package. The error I get is: "could not find driver"Am I right or delivering this package the problem would be solved?
ln -sf /usr/lib/mysql/libmysqlclient.so.16.0.0 /usr/lib/libmysqlclient.so.16.0.0
ln -sf /usr/lib/mysql/libmysqlclient.so.16 /usr/lib/libmysqlclient.so.16
ln -sf /usr/lib/mysql/libmysqlclient.so /usr/lib/libmysqlclient.so
Ronaldo Antoni
(54)9979-8920
On Tuesday, November 11, 2014 9:59:21 PM UTC, Ronaldo Antoni wrote:
I'm trying to use mysql owncloud7 and the 320L, but can not. I think it is the lack of the php5-mysql package. The error I get is: "could not find driver"Am I right or delivering this package the problem would be solved?
Damn!Please execute the following command:
ln -sf /usr/lib/mysql/libmysqlclient.so.16.0.0 /usr/lib/libmysqlclient.so.16.0.0
ln -sf /usr/lib/mysql/libmysqlclient.so.16 /usr/lib/libmysqlclient.so.16
ln -sf /usr/lib/mysql/libmysqlclient.so /usr/lib/libmysqlclient.soYou have to select the mysql and/or pdo_mysql checkbox in the lighttpd PHP config section. I'm not sure which one is needed, please try each at a time and report back.
You also have to start mysql before starting lighttpd.When setting up owncloud for the first time, in "Configure the database" an option to select either sqlite or mysql will be offered. You might have to follow the owncloud site instructions on how to set up mysql. I have done that once and it worked.
Had already enabled mysql and pdo_mysql (both as a precaution);
Mysql and lighttpd start with the boot. No way to set a delay for you launch lighttpd, to ensure that the mysql is already running when the process is started?
I'm migrating an installation of owncloud that runs on another platform, then directly edited the config.php and made changes.
I will do the tests when at home, but I let one more question: the links that will be created will be lost on reboot, then I enter the commands in personal script, right?
Ronaldo Antoni
(54)9979-8920
I made the suggested adjustments and everything worked normally. Regarding mysql, sufficed to create the links. The performance dropped significantly
(perhaps depending on the verge database 200mb).
Ronaldo Antoni (54)9979-8920
2014-11-12 16:26 GMT-02:00 João Cardoso
On Wednesday, November 12, 2014 5:22:57 PM UTC, Ronaldo Antoni wrote:Had already enabled mysql and pdo_mysql (both as a precaution);I think that only mysql is needed. And if you don't need sqlite/pdo_sqlite you should disable them.Having unneeded modules loaded is a waste of memory, and the 256MB that your box has (64MB for the DNS-323) is not like the 4GB that your PC has ;-)Mysql and lighttpd start with the boot. No way to set a delay for you launch lighttpd, to ensure that the mysql is already running when the process is started?The script start number (the NN in the /etc/init.d/SNN<service> file name) guarantees that mysql will start before lighttpd at boot and that lighttpd will be stopped before mysql at power down: S44mysqld S52lighttpdI'm migrating an installation of owncloud that runs on another platform, then directly edited the config.php and made changes.Please start with a clean, fresh install first, just to be sure that it works OK. After knowing that it works fine you can start making changes, and you know that if issues arises that's because of your changes.I will do the tests when at home, but I let one more question: the links that will be created will be lost on reboot, then I enter the commands in personal script, right?As you have packages installed, the links will re-appear as soon as the /Alt-F folder is (automatically) aufs mounted. Then the packages initscripts found in /Alt-F/etc/init.d will also be (automatically) executed in order.
--
You received this message because you are subscribed to the Google Groups "Alt-F" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+unsubscribe@googlegroups.com.
Ronaldo Antoni
(54)9979-8920
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
Evaluate the overall performance of owncloud + dns320l!I did the first installation using sqlite in NAS itself, getting a terrible performance, especially since the database went from 50mb performance begins to drop sharply.So, I decided to use an old laptop that is touching. Put apache + mysql and owncloud running on it, and armazendando data on the NAS via NFS. Worked perfectly well.After, transfer the installation of ownclou back to the NAS, with the database running on mysql. The performance was far superior compared to sqlite,
Ronaldo Antoni
(54)9979-8920
To unsubscribe from this group and stop receiving emails from it, send an email to alt-f+un...@googlegroups.com.
Thanks, progress! Linking the mysql libraries fixed all the mysql problems.
However, the php gd problem remains.
# php -m
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/gd.so' - File not found in Unknown on line 0
and as expected Owncloud still complains:
PHP module GD not installed.
PHP modules have been installed, but they are still listed as missing?
I noticed that extensions_dir is not set in php.ini.
I must thank you and say I appreciate you spending your precious time helping me on this.
So I installed libgd yesterday but it did not help the problem.
I have one additional clue that may be related. If I try to activate webdav in the lighttpd configure menu, lighttpd will not start:
Starting lighttpd: 2015-01-15 10:01:13: (plugin.c.169) dlopen() failed for: /usr/lib/lighttpd/mod_webdav.so File not found
2015-01-15 10:01:13: (server.c.679) loading plugins finally failed
Fail.
This problem has been reported earlier here, with no resolution
https://groups.google.com/forum/#!topic/alt-f/T7SFKBoJIUw
I checked and /usr/lib/lighttpd/mod_webdav.so exists,
-rwxr-xr-x 1 root root 31540 Oct 1 09:31 mod_webdav.so
If that option is not set, then lighttpd works fine and gives reasonable results when I go to hello.php
The only other comment I have is that this install is an upgrade from RC2 to RC4. The only reported solution t othe GD problem was a fresh install on a new disk as reported in this thread by Goolias Andreas on Oct 11 2014.
Here is the output of ldd. I am not smart enough to know what to do with the information.
# ldd /usr/lib/php5/extensions/gd.so
checking sub-depends for '/usr/lib/libpng12.so.0'
checking sub-depends for '/usr/lib/libz.so.1'
checking sub-depends for 'not found'
checking sub-depends for '/lib/libgcc_s.so.1'
checking sub-depends for '/lib/libc.so.0'
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb6f47000)
checking sub-depends for '/lib/libm.so.0'
libc.so.0 => /lib/libc.so.0 (0xb6f5f000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb6fc0000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00000000)
libz.so.1 => /usr/lib/libz.so.1 (0x00000000)
libjpeg.so.8 => not found (0x00000000)
[root@dns-320l]# ls -l /usr/lib/libjpeg*lrwxrwxrwx 1 root root 16 Jan 11 15:44 /usr/lib/libjpeg.so -> libjpeg.so.8.3.0lrwxrwxrwx 1 root root 16 Jan 11 15:44 /usr/lib/libjpeg.so.8 -> libjpeg.so.8.3.0-rwxr-xr-x 1 root root 223776 Jan 11 15:44 /usr/lib/libjpeg.so.8.3.0
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000)
libc.so.0 => /lib/libc.so.0 (0x00000000)
libm.so.0 => /lib/libm.so.0 (0x00000000)
/lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)
I also looked at mod_webdav.so and it shows a very strange 'not found' in the middle of the stream
ldd /usr/lib/lighttpd/mod_webdav.so
checking sub-depends for '/usr/lib/libxml2.so.2'
checking sub-depends for 'not found' <--------------------------------
checking sub-depends for '/usr/lib/libuuid.so.1'
checking sub-depends for '/lib/libpthread.so.0'
libc.so.0 => /lib/libc.so.0 (0xb6ef4000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb6f55000)
checking sub-depends for '/lib/libc.so.0'
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb6edb000)
checking sub-depends for '/lib/libdl.so.0'
libc.so.0 => /lib/libc.so.0 (0xb6eba000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb6f1b000)
checking sub-depends for '/usr/lib/libz.so.1'
checking sub-depends for '/usr/lib/libiconv.so.2'
checking sub-depends for '/lib/libm.so.0'
libc.so.0 => /lib/libc.so.0 (0xb6f13000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0xb6f74000)
checking sub-depends for '/lib/libgcc_s.so.1'
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00000000)
libsqlite3.so.0 => not found (0x00000000)
[root@dns-320l]# ls -la /usr/lib/libsqlite3.so*lrwxrwxrwx 1 root root 19 Jan 14 18:13 /usr/lib/libsqlite3.so -> libsqlite3.so.0.8.6lrwxrwxrwx 1 root root 19 Jan 14 18:13 /usr/lib/libsqlite3.so.0 -> libsqlite3.so.0.8.6-rwxr-xr-x 1 root root 683360 Oct 21 02:30 /usr/lib/libsqlite3.so.0.8.6
libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00000000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00000000)
libc.so.0 => /lib/libc.so.0 (0x00000000)
libdl.so.0 => /lib/libdl.so.0 (0x00000000)
libz.so.1 => /usr/lib/libz.so.1 (0x00000000)
libiconv.so.2 => /usr/lib/libiconv.so.2 (0x00000000)
libm.so.0 => /lib/libm.so.0 (0x00000000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000)
not a dynamic executable
-----
Following up on webdav, problem was with sqlite and sqlite-libs
I did a -force-reinstall on those two packages and webdav is now working. PHP GD problem remains though! :-(